summaryrefslogtreecommitdiff
path: root/valexpr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'valexpr.cc')
-rw-r--r--valexpr.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/valexpr.cc b/valexpr.cc
index 1af45a2e..089b471b 100644
--- a/valexpr.cc
+++ b/valexpr.cc
@@ -15,6 +15,12 @@ std::auto_ptr<value_expr_t> total_expr;
std::time_t terminus = now;
+details_t::details_t(const transaction_t& _xact)
+ : entry(_xact.entry), xact(&_xact), account(xact_account(_xact))
+{
+ DEBUG_PRINT("ledger.memory.ctors", "ctor details_t");
+}
+
void value_expr_t::compute(value_t& result, const details_t& details) const
{
switch (kind) {