3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-31 08:39:01 +00:00

simplify scoped_numeral_vector copy constructor loop

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Lev Nachmanson 2026-03-27 15:31:52 -10:00 committed by Lev Nachmanson
parent 75baedb314
commit 78d70fea37

View file

@ -27,7 +27,7 @@ public:
_scoped_numeral_vector(Manager & m):m_manager(m) {}
_scoped_numeral_vector(const _scoped_numeral_vector & other) : m_manager(other.m_manager) {
for (unsigned i = 0, e = other.size(); i != e; ++i) {
for (unsigned i = 0; i < other.size(); ++i) {
push_back(other[i]);
}
}