aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/Rematerialiser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/optimiser/Rematerialiser.cpp')
-rw-r--r--libyul/optimiser/Rematerialiser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libyul/optimiser/Rematerialiser.cpp b/libyul/optimiser/Rematerialiser.cpp
index a99db0b6..38d50ef4 100644
--- a/libyul/optimiser/Rematerialiser.cpp
+++ b/libyul/optimiser/Rematerialiser.cpp
@@ -37,7 +37,7 @@ void Rematerialiser::visit(Expression& _e)
Identifier& identifier = boost::get<Identifier>(_e);
if (m_value.count(identifier.name))
{
- string name = identifier.name;
+ YulString name = identifier.name;
for (auto const& ref: m_references[name])
assertThrow(inScope(ref), OptimizerException, "");
assertThrow(m_value.at(name), OptimizerException, "");