diff options
Diffstat (limited to 'src/oldpool.h')
-rw-r--r-- | src/oldpool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oldpool.h b/src/oldpool.h index 6802cb63e..37154897e 100644 --- a/src/oldpool.h +++ b/src/oldpool.h @@ -188,7 +188,7 @@ struct PoolItem { * @param size the size of the variable (unused) * @return the memory that is 'allocated' */ - void *operator new (size_t size) + void *operator new(size_t size) { return AllocateRaw(); } @@ -208,7 +208,7 @@ struct PoolItem { * @param index the index of the object * @return the memory that is 'allocated' */ - void *operator new (size_t size, int index) + void *operator new(size_t size, int index) { if (!Tpool->AddBlockIfNeeded(index)) error("%s: failed loading savegame: too many %s", Tpool->GetName(), Tpool->GetName()); |