summaryrefslogtreecommitdiff
path: root/src/theory/theory_state.h
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2021-09-03 05:34:27 -0700
committerGitHub <noreply@github.com>2021-09-03 07:34:27 -0500
commit8e2c02201d30b5715a095ffe0098dd74a636ac85 (patch)
tree4e7b137a55a31c5a524b74d2075563f08e60838d /src/theory/theory_state.h
parentc2cf72496097cf94817e171ffa382c69e1da04ba (diff)
theory: Have more classes in theory with reference to Env derive from EnvObj. (#7130)
Diffstat (limited to 'src/theory/theory_state.h')
-rw-r--r--src/theory/theory_state.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/theory/theory_state.h b/src/theory/theory_state.h
index cc58347bf..9162fdeb6 100644
--- a/src/theory/theory_state.h
+++ b/src/theory/theory_state.h
@@ -21,6 +21,7 @@
#include "context/cdo.h"
#include "expr/node.h"
#include "smt/env.h"
+#include "smt/env_obj.h"
#include "theory/valuation.h"
namespace cvc5 {
@@ -30,7 +31,7 @@ namespace eq {
class EqualityEngine;
}
-class TheoryState
+class TheoryState : protected EnvObj
{
public:
TheoryState(Env& env,
@@ -117,8 +118,6 @@ class TheoryState
Valuation& getValuation();
protected:
- /** Reference to the environment. */
- Env& d_env;
/**
* The valuation proxy for the Theory to communicate back with the
* theory engine (and other theories).
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback