summaryrefslogtreecommitdiff
path: root/src/compat
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat')
-rw-r--r--src/compat/cvc3_compat.cpp6
-rw-r--r--src/compat/cvc3_compat.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/compat/cvc3_compat.cpp b/src/compat/cvc3_compat.cpp
index 4e884a9ab..2c5bc0170 100644
--- a/src/compat/cvc3_compat.cpp
+++ b/src/compat/cvc3_compat.cpp
@@ -2335,12 +2335,12 @@ void ValidityChecker::loadFile(std::istream& is,
delete p;
}
-Statistics& ValidityChecker::getStatistics() {
- return *d_smt->getStatisticsRegistry();
+Statistics ValidityChecker::getStatistics() {
+ return d_smt->getStatistics();
}
void ValidityChecker::printStatistics() {
- Message() << d_smt->getStatisticsRegistry();
+ d_smt->getStatistics().flushInformation(Message.getStream());
}
int compare(const Expr& e1, const Expr& e2) {
diff --git a/src/compat/cvc3_compat.h b/src/compat/cvc3_compat.h
index 39f6658ad..c140d2994 100644
--- a/src/compat/cvc3_compat.h
+++ b/src/compat/cvc3_compat.h
@@ -469,7 +469,7 @@ public:
InputLanguage getOutputLang() const;
};/* class CVC3::ExprManager */
-typedef CVC4::StatisticsRegistry Statistics;
+typedef CVC4::Statistics Statistics;
#define PRESENTATION_LANG ::CVC4::language::input::LANG_CVC4
#define SMTLIB_LANG ::CVC4::language::input::LANG_SMTLIB
@@ -1553,7 +1553,7 @@ public:
/***************************************************************************/
//! Get statistics object
- virtual Statistics& getStatistics();
+ virtual Statistics getStatistics();
//! Print collected statistics to stdout
virtual void printStatistics();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback