summaryrefslogtreecommitdiff
path: root/src/prop/prop_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prop/prop_engine.h')
-rw-r--r--src/prop/prop_engine.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/prop/prop_engine.h b/src/prop/prop_engine.h
index 2f569ba72..da6a50b9a 100644
--- a/src/prop/prop_engine.h
+++ b/src/prop/prop_engine.h
@@ -24,6 +24,7 @@
#include "expr/node.h"
#include "proof/trust_node.h"
#include "prop/skolem_def_manager.h"
+#include "smt/env_obj.h"
#include "theory/output_channel.h"
#include "theory/skolem_lemma.h"
#include "util/result.h"
@@ -51,13 +52,13 @@ class TheoryProxy;
* PropEngine is the abstraction of a Sat Solver, providing methods for
* solving the SAT problem and conversion to CNF (via the CnfStream).
*/
-class PropEngine
+class PropEngine : protected EnvObj
{
public:
/**
* Create a PropEngine with a particular decision and theory engine.
*/
- PropEngine(TheoryEngine* te, Env& env);
+ PropEngine(Env& env, TheoryEngine* te);
/**
* Destructor.
@@ -348,9 +349,6 @@ class PropEngine
/** The theory engine we will be using */
TheoryEngine* d_theoryEngine;
- /** Reference to the environment */
- Env& d_env;
-
/** The decision engine we will be using */
std::unique_ptr<decision::DecisionEngine> d_decisionEngine;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback