diff options
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -139,4 +139,17 @@ extern std::ostream * warning_stream; } // namespace ledger +#ifdef DEBUG_ENABLED + +void * operator new(std::size_t) throw (std::bad_alloc); +void * operator new[](std::size_t) throw (std::bad_alloc); +void operator delete(void*) throw(); +void operator delete[](void*) throw(); +void * operator new(std::size_t, const std::nothrow_t&) throw(); +void * operator new[](std::size_t, const std::nothrow_t&) throw(); +void operator delete(void*, const std::nothrow_t&) throw(); +void operator delete[](void*, const std::nothrow_t&) throw(); + +#endif // DEBUG_ENABLED + #endif // _DEBUG_H |