diff options
Diffstat (limited to 'libsolidity/formal/SymbolicBoolVariable.cpp')
-rw-r--r-- | libsolidity/formal/SymbolicBoolVariable.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libsolidity/formal/SymbolicBoolVariable.cpp b/libsolidity/formal/SymbolicBoolVariable.cpp index 5cf22d7d..5e5aec8f 100644 --- a/libsolidity/formal/SymbolicBoolVariable.cpp +++ b/libsolidity/formal/SymbolicBoolVariable.cpp @@ -24,12 +24,13 @@ using namespace dev; using namespace dev::solidity; SymbolicBoolVariable::SymbolicBoolVariable( - Declaration const& _decl, + Type const& _type, + string const& _uniqueName, smt::SolverInterface&_interface ): - SymbolicVariable(_decl, _interface) + SymbolicVariable(_type, _uniqueName, _interface) { - solAssert(m_declaration.type()->category() == Type::Category::Bool, ""); + solAssert(_type.category() == Type::Category::Bool, ""); } smt::Expression SymbolicBoolVariable::valueAtSequence(int _seq) const |