diff options
Diffstat (limited to 'libsolidity/formal/SymbolicBoolVariable.cpp')
-rw-r--r-- | libsolidity/formal/SymbolicBoolVariable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/formal/SymbolicBoolVariable.cpp b/libsolidity/formal/SymbolicBoolVariable.cpp index e2a5687d..e5c56e46 100644 --- a/libsolidity/formal/SymbolicBoolVariable.cpp +++ b/libsolidity/formal/SymbolicBoolVariable.cpp @@ -24,12 +24,12 @@ using namespace dev; using namespace dev::solidity; SymbolicBoolVariable::SymbolicBoolVariable( - Declaration const* _decl, + Declaration const& _decl, smt::SolverInterface&_interface ): SymbolicVariable(_decl, _interface) { - solAssert(m_declaration->type()->category() == Type::Category::Bool, ""); + solAssert(m_declaration.type()->category() == Type::Category::Bool, ""); m_expression = make_shared<smt::Expression>(m_interface.newFunction(uniqueSymbol(), smt::Sort::Int, smt::Sort::Bool)); } |