summaryrefslogtreecommitdiff
path: root/src/prop/sat_solver.h
diff options
context:
space:
mode:
authorTim King <taking@google.com>2016-09-01 01:28:02 -0700
committerTim King <taking@google.com>2016-09-01 01:28:02 -0700
commitd09bb1889f184de32ceb078a815e016502e24279 (patch)
tree7dad83af4d6fc6be58a98c940234a99e5254ea94 /src/prop/sat_solver.h
parentd6b840e521eef52a864f51fa18d6e86a6bf34f4a (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/sat_solver.h')
-rw-r--r--src/prop/sat_solver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prop/sat_solver.h b/src/prop/sat_solver.h
index 81fb94242..4afaea5a0 100644
--- a/src/prop/sat_solver.h
+++ b/src/prop/sat_solver.h
@@ -43,7 +43,7 @@ class SatSolver {
public:
/** Virtual destructor */
- virtual ~SatSolver() throw(AssertionException) { }
+ virtual ~SatSolver() { }
/** Assert a clause in the solver. */
virtual ClauseId addClause(SatClause& clause,
@@ -99,7 +99,7 @@ public:
class BVSatSolverInterface: public SatSolver {
public:
- virtual ~BVSatSolverInterface() throw(AssertionException) {}
+ virtual ~BVSatSolverInterface() {}
/** Interface for notifications */
class Notify {
public:
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback