Adding a destructor to ProofOutputChannel.
authorTim King <taking@google.com>
Mon, 1 Feb 2016 19:09:09 +0000 (11:09 -0800)
committerTim King <taking@google.com>
Mon, 1 Feb 2016 19:09:09 +0000 (11:09 -0800)
src/proof/theory_proof.cpp

index 1bc8ae9496cedac34b95c3b46d9157a83c1abc04..6679cf896e5dbf466b25e79eac298b728051c3eb 100644 (file)
@@ -55,6 +55,7 @@ public:
   Node d_lemma;
 
   ProofOutputChannel() : d_conflict(), d_proof(NULL) {}
+  virtual ~ProofOutputChannel() throw() {}
 
   void conflict(TNode n, Proof* pf) throw() {
     Trace("theory-proof-debug") << "; CONFLICT: " << n << std::endl;
@@ -90,7 +91,7 @@ public:
 };/* class ProofOutputChannel */
 
 //for proof replay
-class MyPreRegisterVisitor { 
+class MyPreRegisterVisitor {
   theory::Theory* d_theory;
   __gnu_cxx::hash_set<TNode, TNodeHashFunction> d_visited;
 public: