diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2019-11-15 17:52:15 -0800 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2019-11-15 17:52:15 -0800 |
commit | f45bad0112192abb47cd350abdb5414e385c38b1 (patch) | |
tree | 527136b5b49a1b2600e5ac3d9c96790c496ce12a /src/theory/bv/bv_subtheory.h | |
parent | 585682fbc2b622bc62db80578b76adf52709c7c7 (diff) |
Remove staticrmStatic
Diffstat (limited to 'src/theory/bv/bv_subtheory.h')
-rw-r--r-- | src/theory/bv/bv_subtheory.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/theory/bv/bv_subtheory.h b/src/theory/bv/bv_subtheory.h index 60660eda9..8dcc1835b 100644 --- a/src/theory/bv/bv_subtheory.h +++ b/src/theory/bv/bv_subtheory.h @@ -69,12 +69,15 @@ using AssertionQueue = context::CDQueue<Node>; */ class SubtheorySolver { public: - SubtheorySolver(context::Context* c, TheoryBV* bv) - : d_context(c), + SubtheorySolver(Environment* env, context::Context* c, TheoryBV* bv) + : d_env(env), + d_context(c), d_bv(bv), d_bvp(nullptr), d_assertionQueue(c), - d_assertionIndex(c, 0) {} + d_assertionIndex(c, 0) + { + } virtual ~SubtheorySolver() {} virtual bool check(Theory::Effort e) = 0; virtual void explain(TNode literal, std::vector<TNode>& assumptions) = 0; @@ -102,6 +105,8 @@ class SubtheorySolver { } protected: + Environment* d_env; + /** The context we are using */ context::Context* d_context; |