aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
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");