aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/Substitution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/optimiser/Substitution.cpp')
-rw-r--r--libyul/optimiser/Substitution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libyul/optimiser/Substitution.cpp b/libyul/optimiser/Substitution.cpp
index 4a000a85..9b3d4c03 100644
--- a/libyul/optimiser/Substitution.cpp
+++ b/libyul/optimiser/Substitution.cpp
@@ -30,7 +30,7 @@ Expression Substitution::translate(Expression const& _expression)
{
if (_expression.type() == typeid(Identifier))
{
- string const& name = boost::get<Identifier>(_expression).name;
+ YulString name = boost::get<Identifier>(_expression).name;
if (m_substitutions.count(name))
// No recursive substitution
return ASTCopier().translate(*m_substitutions.at(name));