diff options
author | Tim King <taking@google.com> | 2016-09-01 01:28:02 -0700 |
---|---|---|
committer | Tim King <taking@google.com> | 2016-09-01 01:28:02 -0700 |
commit | d09bb1889f184de32ceb078a815e016502e24279 (patch) | |
tree | 7dad83af4d6fc6be58a98c940234a99e5254ea94 /src/prop/bvminisat | |
parent | d6b840e521eef52a864f51fa18d6e86a6bf34f4a (diff) |
Relaxing the throw specifiers for the destructors for Node, TypeNode, the context/ classes, and their subclasses. Fixes compilation issues with clang 3.5 and -std=c++11 'exception specification of overriding function is more lax than base version' for a couple of different classes.
Diffstat (limited to 'src/prop/bvminisat')
-rw-r--r-- | src/prop/bvminisat/bvminisat.cpp | 4 | ||||
-rw-r--r-- | src/prop/bvminisat/bvminisat.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/prop/bvminisat/bvminisat.cpp b/src/prop/bvminisat/bvminisat.cpp index 54e3f2e8b..368a79b80 100644 --- a/src/prop/bvminisat/bvminisat.cpp +++ b/src/prop/bvminisat/bvminisat.cpp @@ -39,7 +39,7 @@ BVMinisatSatSolver::BVMinisatSatSolver(StatisticsRegistry* registry, context::Co } -BVMinisatSatSolver::~BVMinisatSatSolver() throw(AssertionException) { +BVMinisatSatSolver::~BVMinisatSatSolver() { delete d_minisat; delete d_minisatNotify; } @@ -309,5 +309,3 @@ void toSatClause< BVMinisat::Solver> (const BVMinisat::Solver::TClause& minisat_ } } - - diff --git a/src/prop/bvminisat/bvminisat.h b/src/prop/bvminisat/bvminisat.h index 56a7c61e2..732bd0313 100644 --- a/src/prop/bvminisat/bvminisat.h +++ b/src/prop/bvminisat/bvminisat.h @@ -72,7 +72,7 @@ protected: public: BVMinisatSatSolver(StatisticsRegistry* registry, context::Context* mainSatContext, const std::string& name = ""); - ~BVMinisatSatSolver() throw(AssertionException); + virtual ~BVMinisatSatSolver(); void setNotify(Notify* notify); |