diff options
Diffstat (limited to 'solidityCompiler.cpp')
-rw-r--r-- | solidityCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solidityCompiler.cpp b/solidityCompiler.cpp index e0635b6a..1767a0f3 100644 --- a/solidityCompiler.cpp +++ b/solidityCompiler.cpp @@ -48,7 +48,7 @@ bytes compileContract(const string& _sourceCode) Parser parser; ASTPointer<ContractDefinition> contract; BOOST_REQUIRE_NO_THROW(contract = parser.parse(make_shared<Scanner>(CharStream(_sourceCode)))); - NameAndTypeResolver resolver; + NameAndTypeResolver resolver({}); BOOST_REQUIRE_NO_THROW(resolver.resolveNamesAndTypes(*contract)); Compiler compiler; |