mirror of
https://github.com/Z3Prover/z3
synced 2025-07-03 03:15:41 +00:00
vector: fix missing destructor call
This commit is contained in:
parent
48fd2bcfe8
commit
dfd812884d
1 changed files with 1 additions and 2 deletions
|
@ -559,8 +559,7 @@ public:
|
||||||
for(; pos != e; ++pos, ++prev) {
|
for(; pos != e; ++pos, ++prev) {
|
||||||
*prev = std::move(*pos);
|
*prev = std::move(*pos);
|
||||||
}
|
}
|
||||||
reinterpret_cast<SZ *>(m_data)[SIZE_IDX]--;
|
pop_back();
|
||||||
// TODO: where is the destructor called?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void erase(T const & elem) {
|
void erase(T const & elem) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue