mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
remove template dependency for trail objects
This commit is contained in:
parent
c05c5caab5
commit
15a7621e27
28 changed files with 46 additions and 58 deletions
|
@ -210,7 +210,7 @@ namespace datalog {
|
|||
m_contains_p(*this),
|
||||
m_rule_properties(m, m_rule_manager, *this, m_contains_p),
|
||||
m_transf(*this),
|
||||
m_trail(*this),
|
||||
m_trail(),
|
||||
m_pinned(m),
|
||||
m_bind_variables(m),
|
||||
m_rule_set(*this),
|
||||
|
|
|
@ -176,7 +176,7 @@ namespace datalog {
|
|||
contains_pred m_contains_p;
|
||||
rule_properties m_rule_properties;
|
||||
rule_transformer m_transf;
|
||||
trail_stack<context> m_trail;
|
||||
trail_stack m_trail;
|
||||
ast_ref_vector m_pinned;
|
||||
bind_variables m_bind_variables;
|
||||
sort_domain_map m_sorts;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue