mirror of
https://github.com/Z3Prover/z3
synced 2025-06-11 08:33:25 +00:00
Make ast_manager::get_family_id(symbol const &) side-effect free. The version with side-effects is now called ast_manager::mk_family_id
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
3ddb1a85f1
commit
d92efeb0c5
56 changed files with 127 additions and 108 deletions
|
@ -24,7 +24,7 @@ app * arith_factory::mk_value_core(rational const & val, sort * s) {
|
|||
}
|
||||
|
||||
arith_factory::arith_factory(ast_manager & m):
|
||||
numeral_factory(m, m.get_family_id("arith")),
|
||||
numeral_factory(m, m.mk_family_id("arith")),
|
||||
m_util(m) {
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@ app * arith_factory::mk_value(rational const & val, bool is_int) {
|
|||
}
|
||||
|
||||
bv_factory::bv_factory(ast_manager & m):
|
||||
numeral_factory(m, m.get_family_id("bv")),
|
||||
numeral_factory(m, m.mk_family_id("bv")),
|
||||
m_util(m) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue