TestMemoryAllocator* getCurrentNewAllocator() { if (currentNewAllocator == 0) setCurrentNewAllocatorToDefault(); return currentNewAllocator; }
MemoryLeakAllocator* MemoryLeakAllocator::getCurrentNewAllocator() { if (currentNewAllocator == 0) setCurrentNewAllocatorToDefault(); return currentNewAllocator; }