diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-10-12 23:38:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 04:38:46 +0000 |
commit | 45c91fb32195d4f8de014c8ef91814c6625bcf43 (patch) | |
tree | 2e809ef142b1a4eec7b049cacdcc6ba1503826b0 /src/theory/arith | |
parent | f8a65b6a678afb5c60f48046ea579e792f07b07b (diff) |
Make (proof) equality engine use Env (#7336)
Diffstat (limited to 'src/theory/arith')
-rw-r--r-- | src/theory/arith/congruence_manager.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/theory/arith/congruence_manager.cpp b/src/theory/arith/congruence_manager.cpp index e419f3ae1..4aee9e981 100644 --- a/src/theory/arith/congruence_manager.cpp +++ b/src/theory/arith/congruence_manager.cpp @@ -81,14 +81,13 @@ void ArithCongruenceManager::finishInit(eq::EqualityEngine* ee) if (options().arith.arithEqSolver) { // use our own copy - d_allocEe.reset( - new eq::EqualityEngine(d_notify, context(), "arithCong::ee", true)); + d_allocEe = std::make_unique<eq::EqualityEngine>( + d_env, context(), d_notify, "arithCong::ee", true); d_ee = d_allocEe.get(); if (d_pnm != nullptr) { // allocate an internal proof equality engine - d_allocPfee.reset( - new eq::ProofEqEngine(context(), userContext(), *d_ee, d_pnm)); + d_allocPfee = std::make_unique<eq::ProofEqEngine>(d_env, *d_ee); d_ee->setProofEqualityEngine(d_allocPfee.get()); } } |