From 159cb7ee8b6f28f3784a3f24b371760c2ab77f86 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Fri, 1 Apr 2011 00:56:42 +0000 Subject: This commit is a merge from the "betterstats" branch, which: * Makes Options an "omnipresent thread-local global" (like the notion of the "current NodeManager" was already). Options::current() accesses this structure. * Removes Options from constructors and data structures everywhere (this cleans up a lot of things). * No longer uses StatisticsRegistry statically. An instance of the registry is created and linked to a NodeManager. * StatisticsRegistry::current() is similar to Options::current(), but the pointer is stowed in the NodeManager (rather than stored) * The static functions of StatisticsRegistry have been left, for backward compatibility; they now use the "current" statistics registry. * SmtEngine::getStatisticsRegistry() is a public accessor for the registry; this is needed by main() to reach in and get the registry, for flushing statistics at the end. --- src/theory/arith/theory_arith.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/theory/arith/theory_arith.h') diff --git a/src/theory/arith/theory_arith.h b/src/theory/arith/theory_arith.h index a90e37bdc..85f554849 100644 --- a/src/theory/arith/theory_arith.h +++ b/src/theory/arith/theory_arith.h @@ -171,9 +171,6 @@ public: std::string identify() const { return std::string("TheoryArith"); } - void notifyOptions(const Options& opt) { - d_simplex.notifyOptions(opt); - } private: /** The constant zero. */ DeltaRational d_DELTA_ZERO; -- cgit v1.2.3