Sleeping Wombat Common Library  0.50.0
swCommonLibrary
MemoryLeaks.h
1 
22 #ifdef SHOW_MEMORY_LEAKS
23  #define _CRTDBG_MAP_ALLOC
24  #include <cstdlib>
25  #include <crtdbg.h>
26 
27  #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
28  #define new DEBUG_NEW
29 
30 #endif