summaryrefslogtreecommitdiff
path: root/test/unit/prop/cnf_stream_white.h
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 /test/unit/prop/cnf_stream_white.h
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 'test/unit/prop/cnf_stream_white.h')
-rw-r--r--test/unit/prop/cnf_stream_white.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/prop/cnf_stream_white.h b/test/unit/prop/cnf_stream_white.h
index ae79e1517..495097a79 100644
--- a/test/unit/prop/cnf_stream_white.h
+++ b/test/unit/prop/cnf_stream_white.h
@@ -131,9 +131,9 @@ class CnfStreamWhite : public CxxTest::TestSuite {
void setUp() override
{
d_exprManager = new ExprManager();
- d_smt = new SmtEngine(d_exprManager);
- d_smt->d_logic.lock();
d_nodeManager = NodeManager::fromExprManager(d_exprManager);
+ d_smt = new SmtEngine(d_nodeManager);
+ d_smt->d_logic.lock();
d_scope = new SmtScope(d_smt);
// Notice that this unit test uses the theory engine of a created SMT
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback