diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-28 21:19:47 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-29 04:46:17 +0800 |
commit | 1b25f85a66d5e05ff0684c33c6d43c3909f10200 (patch) | |
tree | b9e6a66a288b167a3b00fe9dadd305d0b8b10cf6 /AST.cpp | |
parent | c6fcb8555f727604c2ca28b685129b29ca74e361 (diff) | |
download | dexon-solidity-1b25f85a66d5e05ff0684c33c6d43c3909f10200.tar.gz dexon-solidity-1b25f85a66d5e05ff0684c33c6d43c3909f10200.tar.zst dexon-solidity-1b25f85a66d5e05ff0684c33c6d43c3909f10200.zip |
Explicitly specify insertion to exported functions
Diffstat (limited to 'AST.cpp')
-rw-r--r-- | AST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ map<FixedHash<4>, FunctionDescription> ContractDefinition::getInterfaceFunctions map<FixedHash<4>, FunctionDescription> exportedFunctions; for (auto const& it: exportedFunctionList) - exportedFunctions[std::get<0>(it)] = std::move(FunctionDescription(std::get<1>(it), std::get<2>(it))); + exportedFunctions.insert(make_pair(std::get<0>(it), FunctionDescription(std::get<1>(it), std::get<2>(it)))); solAssert(exportedFunctionList.size() == exportedFunctions.size(), "Hash collision at Function Definition Hash calculation"); |