Skip to content

Commit

Permalink
GH-677 Fix invalid move
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Feb 7, 2023
1 parent ed2e91d commit cd3aaf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/abi_serializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ namespace eosio { namespace chain {
error_messages[std::move(e.error_code)] = std::move(e.error_msg);

for( auto& v : abi.variants.value )
variants[std::move(v.name)] = std::move(v);
variants[v.name] = std::move(v);

for( auto& r : abi.action_results.value )
action_results[std::move(r.name)] = std::move(r.result_type);
Expand Down

0 comments on commit cd3aaf2

Please sign in to comment.