Skip to content

Commit

Permalink
fix slots-hash-key cmd bug (OpenAtomFoundation#49)
Browse files Browse the repository at this point in the history
fix SlotsHashKeyCmd bug

Co-authored-by: liuyuecai <liuyuecai@360.cn>
  • Loading branch information
luky116 and liuyuecai committed Jun 12, 2023
1 parent 0db8995 commit 29b4a17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pika_slot_command.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1480,8 +1480,8 @@ void SlotsHashKeyCmd::DoInitial() {
return;
}

std::vector<std::string>::const_iterator iter = argv_.begin();
keys_.assign(argv_.begin(), argv_.end());
auto iter = argv_.begin();
keys_.assign(++iter, argv_.end());
return;
}

Expand Down

0 comments on commit 29b4a17

Please sign in to comment.