3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00

vector: fix missing destructor call

This commit is contained in:
Jakob Rath 2023-12-18 12:16:00 +01:00
parent 48fd2bcfe8
commit dfd812884d

View file

@ -559,8 +559,7 @@ public:
for(; pos != e; ++pos, ++prev) {
*prev = std::move(*pos);
}
reinterpret_cast<SZ *>(m_data)[SIZE_IDX]--;
// TODO: where is the destructor called?
pop_back();
}
void erase(T const & elem) {