Fool-proof requested by Alex Private memory operators to be sure that this class is used in heap only with launcher
| 139 | // Fool-proof requested by Alex |
| 140 | // Private memory operators to be sure that this class is used in heap only with launcher |
| 141 | void* operator new (size_t s, Firebird::MemoryPool& pool ALLOC_PARAMS) { return pool.allocate(s ALLOC_PASS_ARGS); } |
| 142 | void operator delete (void* mem, Firebird::MemoryPool& ALLOC_PARAMS) { MemoryPool::globalFree(mem); } |
| 143 | void operator delete (void* mem) { MemoryPool::globalFree(mem); } |
| 144 |