3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 18:36:41 +00:00

deal with warnings

@levnach - there are some additional warnings.
You could revert the change to std_vector or use usize() that I added to vector.h. Look at build logs from the pipelines or actions or figure out how to add a continuous AI script to fixup build warnings (I tried a few times earlier on but the features available to do this were not for laymen).
This commit is contained in:
Nikolaj Bjorner 2025-07-02 10:59:56 -07:00
parent bb100a40d5
commit f544dd4ab2
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ namespace nlsat {
assumption_set assumptions() const { return m_assumptions; } assumption_set assumptions() const { return m_assumptions; }
}; };
typedef std_vector<clause*> clause_vector; typedef ptr_vector<clause> clause_vector;
}; };

View file

@ -804,7 +804,7 @@ namespace nlsat {
del_clause(cls); del_clause(cls);
} }
void del_clauses(std_vector<clause*> & cs) { void del_clauses(clause_vector & cs) {
for (clause* cp : cs) for (clause* cp : cs)
del_clause(cp); del_clause(cp);
cs.clear(); cs.clear();