3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-02 13:27:01 +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

@ -44,7 +44,7 @@ struct dl_context {
unsigned m_ref_count;
datalog::dl_decl_plugin* m_decl_plugin;
scoped_ptr<datalog::context> m_context;
trail_stack<dl_context> m_trail;
trail_stack m_trail;
fp_params const& get_params() {
init();
@ -57,7 +57,7 @@ struct dl_context {
m_collected_cmds(collected_cmds),
m_ref_count(0),
m_decl_plugin(nullptr),
m_trail(*this) {}
m_trail() {}
void inc_ref() {
++m_ref_count;