Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

GCC 8.3 on CentOS 7 compiler workaround - 2.0 #9129

Merged
merged 1 commit into from
May 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion plugins/chain_plugin/account_query_db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ namespace eosio::chain_apis {

// for each key, add this permission info's non-owning reference to the bimap for keys
for (const auto& k: po.auth.keys) {
key_bimap.insert(key_bimap_t::value_type {{(chain::public_key_type)k.key, k.weight}, pi});
chain::public_key_type key = k.key;
key_bimap.insert(key_bimap_t::value_type {{std::move(key), k.weight}, pi});
}
}

Expand Down