diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-23 04:42:28 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:30 -0400 |
commit | be9f18ccfe81acdd2f34b27352f2843235fab69b (patch) | |
tree | 89bb8aea8ac4d367b1c054eeea5d3fd9f7bb197c /debug.h | |
parent | ece13a8cf10e9afb576139411f450d8b37ec8e65 (diff) | |
download | fork-ledger-be9f18ccfe81acdd2f34b27352f2843235fab69b.tar.gz fork-ledger-be9f18ccfe81acdd2f34b27352f2843235fab69b.tar.bz2 fork-ledger-be9f18ccfe81acdd2f34b27352f2843235fab69b.zip |
Reduced memory consumption of register report.
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -70,6 +70,7 @@ void debug_assert(const ledger::string& reason, #include <new> #include <iostream> #include <cstdlib> +#include <cassert> #include <boost/regex.hpp> @@ -108,6 +109,9 @@ bool _debug_active(const char * const cls); #define VALIDATE(x) #endif +extern int new_calls; +extern int new_size; + #if 0 void * operator new(std::size_t) throw (std::bad_alloc); void * operator new[](std::size_t) throw (std::bad_alloc); |