diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-11-04 16:28:20 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-11-04 16:28:20 -0500 |
commit | 60cd271c46e7b250e3799f1c3b1fc20015723999 (patch) | |
tree | 82419517f1730d91ab0d5f5fa614fd4a282a8910 /src/smt/smt_engine.h | |
parent | 35f213b0da145bbfc58b117e0b34a819f2bff4a4 (diff) |
Fix a few more minor memory leaks.
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r-- | src/smt/smt_engine.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h index 760c7c071..f1ce2e0e9 100644 --- a/src/smt/smt_engine.h +++ b/src/smt/smt_engine.h @@ -130,9 +130,7 @@ class CVC4_PUBLIC SmtEngine { /** The type of our internal assignment set */ typedef context::CDHashSet<Node, NodeHashFunction> AssignmentSet; /** The types for the recursive function definitions */ - typedef context::CDHashMap< Node, TypeNode, NodeHashFunction > TypeNodeMap; typedef context::CDList<Node> NodeList; - typedef context::CDHashMap<Node, NodeList*, NodeHashFunction> NodeListMap; /** Expr manager context */ context::Context* d_context; @@ -157,8 +155,9 @@ class CVC4_PUBLIC SmtEngine { /** An index of our defined functions */ DefinedFunctionMap* d_definedFunctions; /** recursive function definition abstractions for --fmf-fun */ - TypeNodeMap* d_fmfRecFunctionsAbs; - NodeListMap* d_fmfRecFunctionsConcrete; + std::map< Node, TypeNode > d_fmfRecFunctionsAbs; + std::map< Node, std::vector< Node > > d_fmfRecFunctionsConcrete; + NodeList* d_fmfRecFunctionsDefined; /** * The assertion list (before any conversion) for supporting |