3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-11 03:33:35 +00:00

spacer: trying to make C++ happy

This commit is contained in:
Arie Gurfinkel 2022-09-01 15:44:22 -07:00
parent f2afb369bd
commit eb2b95e5fe

View file

@ -102,7 +102,7 @@ lemma_expand_bnd_generalizer::lemma_expand_bnd_generalizer(context &ctx)
// remove duplicates
std::sort(m_values.begin(), m_values.end());
auto last = std::unique(m_values.begin(), m_values.end());
for (unsigned i = 0, sz = std::distance(last, m_values.end()); i < sz; ++i)
for (size_t i = 0, sz = std::distance(last, m_values.end()); i < sz; ++i)
m_values.pop_back();
}