Skip to content

Commit

Permalink
GH-946 Move rvalues
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Oct 26, 2024
1 parent cbb33b7 commit 4fc3db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/chain/include/eosio/chain/vote_processor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ class vote_processor_t {

public:
explicit vote_processor_t(emit_vote_signal_func_t&& emit_vote_signal, fetch_block_func_t&& get_block)
: emit_vote_signal_func(emit_vote_signal)
, fetch_block_func(get_block)
: emit_vote_signal_func(std::move(emit_vote_signal))
, fetch_block_func(std::move(get_block))
{
assert(emit_vote_signal_func);
assert(get_block);
Expand Down

0 comments on commit 4fc3db4

Please sign in to comment.