aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/Substitution.h
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/optimiser/Substitution.h')
-rw-r--r--libyul/optimiser/Substitution.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libyul/optimiser/Substitution.h b/libyul/optimiser/Substitution.h
index b734cdca..59ee4620 100644
--- a/libyul/optimiser/Substitution.h
+++ b/libyul/optimiser/Substitution.h
@@ -22,9 +22,9 @@
#include <libyul/optimiser/ASTCopier.h>
-#include <string>
+#include <libyul/YulString.h>
+
#include <map>
-#include <set>
namespace dev
{
@@ -37,13 +37,13 @@ namespace yul
class Substitution: public ASTCopier
{
public:
- Substitution(std::map<std::string, Expression const*> const& _substitutions):
+ Substitution(std::map<YulString, Expression const*> const& _substitutions):
m_substitutions(_substitutions)
{}
virtual Expression translate(Expression const& _expression) override;
private:
- std::map<std::string, Expression const*> const& m_substitutions;
+ std::map<YulString, Expression const*> const& m_substitutions;
};
}