d_equalityEngine.addFunctionKind(kind::APPLY_UF);
}
+TheoryUF::~TheoryUF() {
+ // destruct all ppRewrite() callbacks
+ for(RegisterPpRewrites::iterator i = d_registeredPpRewrites.begin();
+ i != d_registeredPpRewrites.end();
+ ++i) {
+ delete i->second;
+ }
+ delete d_thss;
+}
+
void TheoryUF::setMasterEqualityEngine(eq::EqualityEngine* eq) {
d_equalityEngine.setMasterEqualityEngine(eq);
}
/** Constructs a new instance of TheoryUF w.r.t. the provided context.*/
TheoryUF(context::Context* c, context::UserContext* u, OutputChannel& out, Valuation valuation, const LogicInfo& logicInfo);
- ~TheoryUF() {
- // destruct all ppRewrite() callbacks
- for(RegisterPpRewrites::iterator i = d_registeredPpRewrites.begin();
- i != d_registeredPpRewrites.end();
- ++i) {
- delete i->second;
- }
- delete d_thss;
- }
+ ~TheoryUF();
void setMasterEqualityEngine(eq::EqualityEngine* eq);
void finishInit();