fix: Various general fixes and changes

This commit is contained in:
Daniel Hammer
2025-03-07 23:57:20 +01:00
parent 6c5f6ecd47
commit 8cbb8d4472
8 changed files with 25 additions and 42 deletions
+1 -1
View File
@@ -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;
}