mirror of
https://github.com/Z3Prover/z3
synced 2026-02-21 15:57:35 +00:00
fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d50fc6976b
commit
f986ae97bd
5 changed files with 12 additions and 12 deletions
|
|
@ -51,13 +51,12 @@ namespace datalog {
|
|||
}
|
||||
|
||||
rule_set * mk_unfold::operator()(rule_set const & source) {
|
||||
rule_set* rules = alloc(rule_set, m_ctx);
|
||||
rule_set::iterator it = source.begin(), end = source.end();
|
||||
for (; it != end; ++it) {
|
||||
expand_tail(**it, 0, source, *rules);
|
||||
scoped_ptr<rule_set> rules = alloc(rule_set, m_ctx);
|
||||
for (rule* r : source) {
|
||||
expand_tail(*r, 0, source, *rules);
|
||||
}
|
||||
rules->inherit_predicates(source);
|
||||
return rules;
|
||||
return rules.detach();
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue