summaryrefslogtreecommitdiff
path: root/account.cc
diff options
context:
space:
mode:
Diffstat (limited to 'account.cc')
-rw-r--r--account.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/account.cc b/account.cc
index 267d190a..d11633ef 100644
--- a/account.cc
+++ b/account.cc
@@ -5,6 +5,8 @@
namespace ledger {
+#ifdef DO_CLEANUP
+
account_t::~account_t()
{
DEBUG_PRINT("ledger.memory.ctors", "dtor account_t");
@@ -16,6 +18,8 @@ account_t::~account_t()
delete (*i).second;
}
+#endif // DO_CLEANUP
+
account_t * account_t::find_account(const std::string& name,
const bool auto_create)
{