summaryrefslogtreecommitdiff
path: root/src/smt/check_models.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/check_models.h')
-rw-r--r--src/smt/check_models.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/smt/check_models.h b/src/smt/check_models.h
index d785b53d5..2b3447010 100644
--- a/src/smt/check_models.h
+++ b/src/smt/check_models.h
@@ -20,11 +20,10 @@
#include "context/cdlist.h"
#include "expr/node.h"
+#include "smt/env_obj.h"
namespace cvc5 {
-class Env;
-
namespace theory {
class TheoryModel;
}
@@ -34,11 +33,10 @@ namespace smt {
/**
* This utility is responsible for checking the current model.
*/
-class CheckModels
+class CheckModels : protected EnvObj
{
public:
CheckModels(Env& e);
- ~CheckModels();
/**
* Check model m against the current set of input assertions al.
*
@@ -48,10 +46,6 @@ class CheckModels
void checkModel(theory::TheoryModel* m,
const context::CDList<Node>& al,
bool hardFailure);
-
- private:
- /** Reference to the environment */
- Env& d_env;
};
} // namespace smt
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback