Fix usage of EVMVersion in LLL.

This commit is contained in:
chriseth
2019-02-25 17:27:10 +01:00
parent 62e650dc42
commit 35f0654f1c
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -134,7 +134,7 @@ int main(int argc, char** argv)
}
else if (mode == Binary || mode == Hex)
{
auto bs = compileLLL(src, EVMVersion{}, optimise ? true : false, &errors, readFileAsString);
auto bs = compileLLL(src, langutil::EVMVersion{}, optimise ? true : false, &errors, readFileAsString);
if (mode == Hex)
cout << toHex(bs) << endl;
else if (mode == Binary)
@@ -146,7 +146,7 @@ int main(int argc, char** argv)
}
else if (mode == Assembly)
{
cout << compileLLLToAsm(src, EVMVersion{}, optimise ? true : false, &errors, readFileAsString) << endl;
cout << compileLLLToAsm(src, langutil::EVMVersion{}, optimise ? true : false, &errors, readFileAsString) << endl;
}
for (auto const& i: errors)