mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
stl fix yet again
This commit is contained in:
parent
9b34e2fe72
commit
0096f5745e
1 changed files with 3 additions and 3 deletions
|
@ -335,9 +335,9 @@ namespace gd {
|
|||
void clear() {
|
||||
std::allocator<T> alloc;
|
||||
alloc.deallocate(m_start, (m_finish - m_start) / 8);
|
||||
m_start = alloc.allocate(1);
|
||||
m_finish = m_start;
|
||||
m_capacity_end = m_start + 8;
|
||||
m_start = 0;
|
||||
m_finish = 0;
|
||||
m_capacity_end = 0;
|
||||
}
|
||||
|
||||
T& front() {
|
||||
|
|
Loading…
Reference in a new issue