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:
parent
75baedb314
commit
78d70fea37
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue