diff --git a/libsolidity/formal/SMTPortfolio.cpp b/libsolidity/formal/SMTPortfolio.cpp index 6bdbd3108..2a109b894 100644 --- a/libsolidity/formal/SMTPortfolio.cpp +++ b/libsolidity/formal/SMTPortfolio.cpp @@ -23,9 +23,7 @@ #ifdef HAVE_CVC4 #include #endif -#if !defined (HAVE_Z3) && !defined (HAVE_CVC4) #include -#endif using namespace std; using namespace dev; @@ -34,16 +32,13 @@ using namespace dev::solidity::smt; SMTPortfolio::SMTPortfolio(map const& _smtlib2Responses) { + m_solvers.emplace_back(make_shared(_smtlib2Responses)); #ifdef HAVE_Z3 m_solvers.emplace_back(make_shared()); #endif #ifdef HAVE_CVC4 m_solvers.emplace_back(make_shared()); #endif -#if !defined (HAVE_Z3) && !defined (HAVE_CVC4) - m_solvers.emplace_back(make_shared(_smtlib2Responses)); -#endif - (void)_smtlib2Responses; } void SMTPortfolio::reset()