3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00

remove template dependency for trail objects

This commit is contained in:
Nikolaj Bjorner 2021-03-19 11:14:20 -07:00
parent c05c5caab5
commit 15a7621e27
28 changed files with 46 additions and 58 deletions

View file

@ -82,7 +82,7 @@ class emonics {
};
union_find<emonics> m_u_f;
trail_stack<emonics> m_u_f_stack;
trail_stack m_u_f_stack;
mutable svector<lpvar> m_find_key; // the key used when looking for a monic with the specific variables
var_eqs<emonics>& m_ve;
mutable vector<monic> m_monics; // set of monics
@ -124,7 +124,7 @@ public:
*/
emonics(var_eqs<emonics>& ve):
m_u_f(*this),
m_u_f_stack(*this),
m_u_f_stack(),
m_ve(ve),
m_visited(0),
m_cg_hash(*this),
@ -141,7 +141,7 @@ public:
void after_merge_eh(unsigned r2, unsigned r1, unsigned v2, unsigned v1) {}
// this method is required by union_find
trail_stack<emonics> & get_trail_stack() { return m_u_f_stack; }
trail_stack & get_trail_stack() { return m_u_f_stack; }
/**
\brief push/pop scopes.