mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-10 03:55:43 -04:00
Merge branch 'main' of https://github.com/geode-sdk/geode
This commit is contained in:
commit
d6dd153b65
1 changed files with 6 additions and 1 deletions
|
@ -405,7 +405,12 @@ namespace gd {
|
|||
}
|
||||
|
||||
~vector() {
|
||||
if (m_start) delete m_start;
|
||||
if (m_start) {
|
||||
for (auto& x : *this) {
|
||||
x.~T();
|
||||
}
|
||||
delete m_start;
|
||||
}
|
||||
}
|
||||
|
||||
size_t size() const {
|
||||
|
|
Loading…
Add table
Reference in a new issue