re3-wiiu/src/buildings/Treadable.cpp
erorcun 9b5caa190e Pool fixes
Mostly for Linux
2021-06-26 00:27:20 +03:00

9 lines
299 B
C++

#include "common.h"
#include "rpworld.h"
#include "Treadable.h"
#include "Pools.h"
void *CTreadable::operator new(size_t sz) throw() { return CPools::GetTreadablePool()->New(); }
void CTreadable::operator delete(void *p, size_t sz) throw() { CPools::GetTreadablePool()->Delete((CTreadable*)p); }