diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-04-09 19:19:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 19:19:40 -0500 |
commit | 92ed7681941b3b6d9c857724454860ac72d778d9 (patch) | |
tree | 200455fb3d8046e9dc0e9c6ae8383e2b3a904bcc /test/unit/prop/cnf_stream_white.h | |
parent | 789f5b3c8c224deb48fe547303147e0d15e690ae (diff) |
Towards proper use of resource managers (#4233)
Resource manager will be owned by SmtEngine in the future. This passes the resource manager cached by SmtEnginePrivate to the PropEngine created by SmtEngine instead of using the global pointer. It also makes a few preprocessing passes use the resource manager they already have access to and should use.
Diffstat (limited to 'test/unit/prop/cnf_stream_white.h')
-rw-r--r-- | test/unit/prop/cnf_stream_white.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/prop/cnf_stream_white.h b/test/unit/prop/cnf_stream_white.h index b08221cf0..05daf074e 100644 --- a/test/unit/prop/cnf_stream_white.h +++ b/test/unit/prop/cnf_stream_white.h @@ -145,8 +145,9 @@ class CnfStreamWhite : public CxxTest::TestSuite { d_satSolver = new FakeSatSolver(); d_cnfContext = new context::Context(); d_cnfRegistrar = new theory::TheoryRegistrar(d_theoryEngine); + ResourceManager * rm = d_nodeManager->getResourceManager(); d_cnfStream = new CVC4::prop::TseitinCnfStream( - d_satSolver, d_cnfRegistrar, d_cnfContext); + d_satSolver, d_cnfRegistrar, d_cnfContext, rm); } void tearDown() override |