summaryrefslogtreecommitdiff
path: root/src/printer/printer.h
diff options
context:
space:
mode:
authorAbdalrhman Mohamed <32971963+abdoo8080@users.noreply.github.com>2020-09-04 10:42:33 -0500
committerGitHub <noreply@github.com>2020-09-04 10:42:33 -0500
commit21e1d2b6441f85a9776310779ebc6ad9e13f5b45 (patch)
treec37eebbcf87aa3e1b04beb5441455d1bd99037aa /src/printer/printer.h
parent0d0c1cdbce4fb46ad5c7d4bc620b712ea014722e (diff)
Use Result::Sat instead of BenchmarkStatus in printers. (#5026)
This PR modifies the printers to use Result::Sat, "internal" version of BenchmarkStatus, for printing benchmark status commands.
Diffstat (limited to 'src/printer/printer.h')
-rw-r--r--src/printer/printer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/printer/printer.h b/src/printer/printer.h
index 8c95e3e9b..af280cb40 100644
--- a/src/printer/printer.h
+++ b/src/printer/printer.h
@@ -24,13 +24,16 @@
#include "expr/node.h"
#include "options/language.h"
-#include "smt/command.h"
#include "smt/model.h"
+#include "util/result.h"
#include "util/sexpr.h"
namespace CVC4 {
+class Command;
+class CommandStatus;
class NodeCommand;
+class UnsatCore;
class Printer
{
@@ -212,7 +215,7 @@ class Printer
/** Print set-info :status command */
virtual void toStreamCmdSetBenchmarkStatus(std::ostream& out,
- BenchmarkStatus status) const;
+ Result::Sat status) const;
/** Print set-logic command */
virtual void toStreamCmdSetBenchmarkLogic(std::ostream& out,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback