Make Dialect const.

This commit is contained in:
chriseth
2019-05-16 21:51:54 +02:00
parent 9a387380b3
commit 570db164c9
27 changed files with 51 additions and 50 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ using namespace yul;
namespace
{
shared_ptr<Dialect> defaultDialect(bool _yul)
shared_ptr<Dialect const> defaultDialect(bool _yul)
{
return _yul ? yul::Dialect::yul() : yul::EVMDialect::strictAssemblyForEVM(dev::test::Options::get().evmVersion());
}