fix: Various general fixes and changes
This commit is contained in:
@@ -41,7 +41,7 @@ namespace kcp
|
||||
}
|
||||
|
||||
void push_back(T value) {
|
||||
array = (T *)Memory::g_allocator->Realloc(array, sizeof(T) * (sz + 1));
|
||||
array = (T *)Memory::g_heap->Realloc(array, sizeof(T) * (sz + 1));
|
||||
array[sz++] = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user