diff options
Diffstat (limited to 'solidityCompiler.cpp')
-rw-r--r-- | solidityCompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solidityCompiler.cpp b/solidityCompiler.cpp index e0635b6a..3e86919a 100644 --- a/solidityCompiler.cpp +++ b/solidityCompiler.cpp @@ -48,11 +48,11 @@ 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; - compiler.compileContract(*contract); + compiler.compileContract(*contract, {}); // debug //compiler.streamAssembly(cout); return compiler.getAssembledBytecode(); |