mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 20:21:23 +00:00
refactor get_sort
This commit is contained in:
parent
4455f6caf8
commit
3ae4c6e9de
129 changed files with 362 additions and 362 deletions
|
@ -43,7 +43,7 @@ struct_factory::~struct_factory() {
|
|||
}
|
||||
|
||||
void struct_factory::register_value(expr * new_value) {
|
||||
sort * s = m_manager.get_sort(new_value);
|
||||
sort * s = new_value->get_sort();
|
||||
value_set * set = get_value_set(s);
|
||||
if (!set->contains(new_value)) {
|
||||
m_values.push_back(new_value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue