summaryrefslogtreecommitdiff
path: root/balance.cc
diff options
context:
space:
mode:
Diffstat (limited to 'balance.cc')
-rw-r--r--balance.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/balance.cc b/balance.cc
index 3b69904f..7e64124f 100644
--- a/balance.cc
+++ b/balance.cc
@@ -1,3 +1,4 @@
+#include "balance.h"
#include "ledger.h"
#include <deque>
@@ -87,6 +88,7 @@ void balance_t::write(std::ostream& out,
balance_pair_t::balance_pair_t(const transaction_t& xact)
: quantity(xact.amount), cost(NULL)
{
+ DEBUG_PRINT("ledger.memory.ctors", "ctor balance_pair_t");
if (xact.cost)
cost = new balance_t(*xact.cost);
}