From 6251a289dd55cc54f8da5a907dc4982a4b5e57fa Mon Sep 17 00:00:00 2001 From: Leonardo Alt Date: Fri, 24 Aug 2018 12:02:56 +0200 Subject: Testing with smtlib2 interface always there --- libsolidity/formal/SMTPortfolio.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libsolidity/formal/SMTPortfolio.cpp b/libsolidity/formal/SMTPortfolio.cpp index 6bdbd310..2a109b89 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() -- cgit