summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2017-11-15 02:58:30 -0800
committerAndres Noetzli <andres.noetzli@gmail.com>2017-11-15 02:58:30 -0800
commit3c130b44fdecc62b1ace2a739e77f913cd606aa0 (patch)
tree6abfb806dd45c83606c04dda5c26e9c410ac2ee1 /src/theory/theory_engine.h
parent85df7998e4362e0a9c796146d07d7b9e91045a31 (diff)
Adding garbage collection for Proof objects. (#1294)
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r--src/theory/theory_engine.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h
index 9afd4e5d9..91a88274e 100644
--- a/src/theory/theory_engine.h
+++ b/src/theory/theory_engine.h
@@ -20,6 +20,7 @@
#define __CVC4__THEORY_ENGINE_H
#include <deque>
+#include <memory>
#include <set>
#include <unordered_map>
#include <vector>
@@ -265,7 +266,8 @@ class TheoryEngine {
}
}
- void conflict(TNode conflictNode, Proof* pf = nullptr) override;
+ void conflict(TNode conflictNode,
+ std::unique_ptr<Proof> pf = nullptr) override;
bool propagate(TNode literal) override;
theory::LemmaStatus lemma(TNode lemma, ProofRule rule,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback