aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/Semantics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/optimiser/Semantics.cpp')
-rw-r--r--libyul/optimiser/Semantics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libyul/optimiser/Semantics.cpp b/libyul/optimiser/Semantics.cpp
index 33f3af77..3c49016e 100644
--- a/libyul/optimiser/Semantics.cpp
+++ b/libyul/optimiser/Semantics.cpp
@@ -40,7 +40,7 @@ MovableChecker::MovableChecker(Expression const& _expression)
void MovableChecker::operator()(Identifier const& _identifier)
{
ASTWalker::operator()(_identifier);
- m_variableReferences.insert(_identifier.name);
+ m_variableReferences.emplace(_identifier.name);
}
void MovableChecker::operator()(FunctionalInstruction const& _instr)