mirror of
https://github.com/Z3Prover/z3
synced 2025-08-17 16:52:15 +00:00
address compiler warnings, and user question #6544
This commit is contained in:
parent
523a3f34b0
commit
d11e5c8ca6
16 changed files with 11 additions and 57 deletions
|
@ -288,16 +288,13 @@ namespace sat {
|
|||
clause_vector::iterator it = cs.begin();
|
||||
clause_vector::iterator it2 = it;
|
||||
clause_vector::iterator end = cs.end();
|
||||
unsigned nm = 0;
|
||||
for (; it != end; ++it) {
|
||||
clause & c = *(*it);
|
||||
if (learned && !c.is_learned()) {
|
||||
s.m_clauses.push_back(&c);
|
||||
++nm;
|
||||
}
|
||||
else if (!learned && c.is_learned()) {
|
||||
s.m_learned.push_back(&c);
|
||||
++nm;
|
||||
}
|
||||
else {
|
||||
*it2 = *it;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue