aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-28 21:19:47 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-29 04:46:17 +0800
commit1b25f85a66d5e05ff0684c33c6d43c3909f10200 (patch)
treeb9e6a66a288b167a3b00fe9dadd305d0b8b10cf6 /AST.cpp
parentc6fcb8555f727604c2ca28b685129b29ca74e361 (diff)
downloaddexon-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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST.cpp b/AST.cpp
index 71bf7c4a..a23846a0 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -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");