From 6a32f6e1ac715c31e0329b6cd52e5d9f4e8b38a0 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 4 Mar 2019 12:00:47 +0100 Subject: [PATCH] Properly assign reference to context. --- libsolidity/codegen/ContractCompiler.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libsolidity/codegen/ContractCompiler.h b/libsolidity/codegen/ContractCompiler.h index 9ab006f6e..d57d84b91 100644 --- a/libsolidity/codegen/ContractCompiler.h +++ b/libsolidity/codegen/ContractCompiler.h @@ -44,7 +44,6 @@ public: m_runtimeCompiler(_runtimeCompiler), m_context(_context) { - m_context = CompilerContext(_context.evmVersion(), _runtimeCompiler ? &_runtimeCompiler->m_context : nullptr); } void compileContract(