mirror of
https://github.com/Z3Prover/z3
synced 2025-07-26 06:07:01 +00:00
use svector instead of vector where appropriate
Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
This commit is contained in:
parent
38823d6c79
commit
adc8224dba
4 changed files with 5 additions and 7 deletions
|
@ -208,8 +208,8 @@ void bit_vector::display(std::ostream & out) const {
|
|||
|
||||
void fr_bit_vector::reset() {
|
||||
unsigned sz = size();
|
||||
vector<unsigned>::const_iterator it = m_one_idxs.begin();
|
||||
vector<unsigned>::const_iterator end = m_one_idxs.end();
|
||||
unsigned_vector::const_iterator it = m_one_idxs.begin();
|
||||
unsigned_vector::const_iterator end = m_one_idxs.end();
|
||||
for (; it != end; ++it) {
|
||||
unsigned idx = *it;
|
||||
if (idx < sz)
|
||||
|
@ -217,5 +217,3 @@ void fr_bit_vector::reset() {
|
|||
}
|
||||
m_one_idxs.reset();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue