diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-08-25 11:27:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 16:27:03 +0000 |
commit | 76c8bc4c963b494db36074afac74e51ab39917e4 (patch) | |
tree | 1dead31654b75eec05ada6ca0a4adf2878809cab /src/theory/quantifiers/candidate_rewrite_database.cpp | |
parent | 9a4deadddfd3d4489ba15f65f0e3dab72b2fcccc (diff) |
Eliminate calls to currentSmtEngine (#7060)
Work towards supporting multiple solvers running in parallel.
There are now only 5 remaining internal calls to smt::currentSmtEngine.
More will be eliminated on future PRs.
Diffstat (limited to 'src/theory/quantifiers/candidate_rewrite_database.cpp')
-rw-r--r-- | src/theory/quantifiers/candidate_rewrite_database.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/theory/quantifiers/candidate_rewrite_database.cpp b/src/theory/quantifiers/candidate_rewrite_database.cpp index c2ee563e3..0fd0eebd6 100644 --- a/src/theory/quantifiers/candidate_rewrite_database.cpp +++ b/src/theory/quantifiers/candidate_rewrite_database.cpp @@ -33,11 +33,10 @@ namespace cvc5 { namespace theory { namespace quantifiers { -CandidateRewriteDatabase::CandidateRewriteDatabase(bool doCheck, - bool rewAccel, - bool silent, - bool filterPairs) - : d_tds(nullptr), +CandidateRewriteDatabase::CandidateRewriteDatabase( + Env& env, bool doCheck, bool rewAccel, bool silent, bool filterPairs) + : ExprMiner(env), + d_tds(nullptr), d_ext_rewrite(nullptr), d_doCheck(doCheck), d_rewAccel(rewAccel), |