summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-11-25 23:03:11 -0600
committerGitHub <noreply@github.com>2020-11-25 23:03:11 -0600
commitc41a2e9be2422a211b9687833c97ba37485cd946 (patch)
tree6e7f88a41d6bbb2581762de203f66086fe16ed49 /src/api
parentd0c352ec04846353d630073e78e5b2fea92133c2 (diff)
Fully decouple SmtEngine and the Expr layer (#5532)
This removes the remaining dependencies of SmtEngine on the Expr layer. It now takes a NodeManager instead of a ExprManager.
Diffstat (limited to 'src/api')
-rw-r--r--src/api/cvc4cpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/cvc4cpp.cpp b/src/api/cvc4cpp.cpp
index 9b79b5c45..5eabcfe62 100644
--- a/src/api/cvc4cpp.cpp
+++ b/src/api/cvc4cpp.cpp
@@ -3093,7 +3093,7 @@ size_t RoundingModeHashFunction::operator()(const RoundingMode& rm) const
Solver::Solver(Options* opts)
{
d_exprMgr.reset(new ExprManager);
- d_smtEngine.reset(new SmtEngine(d_exprMgr.get(), opts));
+ d_smtEngine.reset(new SmtEngine(d_exprMgr->getNodeManager(), opts));
d_smtEngine->setSolver(this);
Options& o = d_smtEngine->getOptions();
d_rng.reset(new Random(o[options::seed]));
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback