diff --git a/ASTPrinter.cpp b/ASTPrinter.cpp index f21ec5e37..0a170f8e1 100644 --- a/ASTPrinter.cpp +++ b/ASTPrinter.cpp @@ -30,7 +30,8 @@ namespace dev namespace solidity { -ASTPrinter::ASTPrinter(ASTNode const& _ast, +ASTPrinter::ASTPrinter( + ASTNode const& _ast, string const& _source, StructuralGasEstimator::ASTGasConsumption const& _gasCosts ): m_indentation(0), m_source(_source), m_ast(&_ast), m_gasCosts(_gasCosts)