mirror of
https://github.com/Z3Prover/z3
synced 2025-07-31 16:33:18 +00:00
inherit and reset rlimit counter on children limits
addresses rlimit leak reported by @mtzguido
This commit is contained in:
parent
f8242c58dd
commit
84b9204616
5 changed files with 20 additions and 2 deletions
|
@ -1924,6 +1924,8 @@ public:
|
|||
return mk_fresh_func_decl(symbol(prefix), symbol::null, arity, domain, range, skolem);
|
||||
}
|
||||
|
||||
bool is_parametric_function(func_decl* f, func_decl *& g) const;
|
||||
|
||||
app * mk_fresh_const(char const * prefix, sort * s, bool skolem = true) {
|
||||
return mk_const(mk_fresh_func_decl(prefix, 0, nullptr, s, skolem));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue