diff options
author | aap <aap@papnet.eu> | 2019-06-02 17:13:56 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-02 17:13:56 +0200 |
commit | 541665d9d12d9f85dd759b14a8c6abd84714b84f (patch) | |
tree | 038a09c138f91ffe5512e27f0cfe6141f47ea24e /src/entities/Dummy.cpp | |
parent | 26fda92728d66977adb85f2be921eee3ef067bbd (diff) |
added some small bits and stubs
Diffstat (limited to 'src/entities/Dummy.cpp')
-rw-r--r-- | src/entities/Dummy.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/entities/Dummy.cpp b/src/entities/Dummy.cpp new file mode 100644 index 00000000..a4880175 --- /dev/null +++ b/src/entities/Dummy.cpp @@ -0,0 +1,7 @@ +#include "common.h" +#include "patcher.h" +#include "Dummy.h" +#include "Pools.h" + +void *CDummy::operator new(size_t sz) { return CPools::GetDummyPool()->New(); } +void CDummy::operator delete(void *p, size_t sz) { CPools::GetDummyPool()->Delete((CDummy*)p); } |