summaryrefslogtreecommitdiff
path: root/src/printer/cvc
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/cvc
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/cvc')
-rw-r--r--src/printer/cvc/cvc_printer.cpp2
-rw-r--r--src/printer/cvc/cvc_printer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/printer/cvc/cvc_printer.cpp b/src/printer/cvc/cvc_printer.cpp
index b94977cfe..2d59bff71 100644
--- a/src/printer/cvc/cvc_printer.cpp
+++ b/src/printer/cvc/cvc_printer.cpp
@@ -1436,7 +1436,7 @@ void CvcPrinter::toStreamCmdGetUnsatCore(std::ostream& out) const
}
void CvcPrinter::toStreamCmdSetBenchmarkStatus(std::ostream& out,
- BenchmarkStatus status) const
+ Result::Sat status) const
{
out << "% (set-info :status " << status << ')';
}
diff --git a/src/printer/cvc/cvc_printer.h b/src/printer/cvc/cvc_printer.h
index 3c61fb74f..b1af1af3e 100644
--- a/src/printer/cvc/cvc_printer.h
+++ b/src/printer/cvc/cvc_printer.h
@@ -123,7 +123,7 @@ class CvcPrinter : public CVC4::Printer
/** Print set-info :status command */
void toStreamCmdSetBenchmarkStatus(std::ostream& out,
- BenchmarkStatus status) const override;
+ Result::Sat status) const override;
/** Print set-logic command */
void toStreamCmdSetBenchmarkLogic(std::ostream& out,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback