diff options
author | John Wiegley <johnw@newartisans.com> | 2005-11-09 07:11:22 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:21 -0400 |
commit | f691735c6ce89a19356769084449d3f5691ab030 (patch) | |
tree | df7a5de60353d3558b00d21ee83cf01e8da56331 /valexpr.cc | |
parent | 3a689c568a715e7c6604825eab537d66333ce291 (diff) | |
download | fork-ledger-f691735c6ce89a19356769084449d3f5691ab030.tar.gz fork-ledger-f691735c6ce89a19356769084449d3f5691ab030.tar.bz2 fork-ledger-f691735c6ce89a19356769084449d3f5691ab030.zip |
Restructed the code that it can build and be used as a shared library.
The command-line version is still statically bound in the build
process by default (for the sake of speed).
Diffstat (limited to 'valexpr.cc')
-rw-r--r-- | valexpr.cc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) { |