Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Helpers/MemDebug.cpp

    rf0f1cc r6d574a  
    66 */
    77
    8 // NDEBUG implies NO_MEMDEBUG
    9 #ifdef NDEBUG
    10 # ifndef NO_MEMDEBUG
    11 #   define NO_MEMDEBUG
    12 # endif
    13 #endif
    14 
    15 // NO_MEMDEBUG and MEMDEBUG are mutually exclusive, but at least one must be set
    16 #ifdef NO_MEMDEBUG
    17 # ifdef MEMDEBUG
    18 #   undef MEMDEBUG
    19 # endif
    20 #else
    21 # ifndef MEMDEBUG
    22 #   define MEMDEBUG
    23 # endif
    24 #endif
    25 
    26 #ifdef MEMDEBUG
     8#ifndef NDEBUG
     9#ifndef NO_MEMDEBUG
    2710
    2811#include <iostream>
     
    506489}
    507490#endif
     491#endif
Note: See TracChangeset for help on using the changeset viewer.