[ox/mc] Add def writer

This commit is contained in:
2019-02-11 05:59:33 +00:00
parent 96c56e2589
commit 75aeedb7b5
20 changed files with 468 additions and 17 deletions

View File

@ -197,7 +197,7 @@ void Vector<T>::expandCap(std::size_t cap) noexcept {
m_items[i] = oldItems[i];
}
for (std::size_t i = itRange; i < m_cap; i++) {
m_items[i] = {};
m_items[i] = T();
}
delete[] oldItems;
}