summaryrefslogtreecommitdiff
path: root/src/theory/output_channel.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/output_channel.h
parent85df7998e4362e0a9c796146d07d7b9e91045a31 (diff)
Adding garbage collection for Proof objects. (#1294)
Diffstat (limited to 'src/theory/output_channel.h')
-rw-r--r--src/theory/output_channel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/output_channel.h b/src/theory/output_channel.h
index 2c11097db..cc8cee481 100644
--- a/src/theory/output_channel.h
+++ b/src/theory/output_channel.h
@@ -19,6 +19,8 @@
#ifndef __CVC4__THEORY__OUTPUT_CHANNEL_H
#define __CVC4__THEORY__OUTPUT_CHANNEL_H
+#include <memory>
+
#include "base/cvc4_assert.h"
#include "proof/proof_manager.h"
#include "smt/logic_exception.h"
@@ -97,7 +99,7 @@ class OutputChannel {
* @param pf - a proof of the conflict. This is only non-null if proofs
* are enabled.
*/
- virtual void conflict(TNode n, Proof* pf = nullptr) = 0;
+ virtual void conflict(TNode n, std::unique_ptr<Proof> pf = nullptr) = 0;
/**
* Propagate a theory literal.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback