summaryrefslogtreecommitdiff
path: root/valexpr.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-11-10 12:06:41 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:21 -0400
commit3ba6e1085229df047820e5f0fd6a2bf56beed8fc (patch)
treee781b172180d5ee96f9534db69ca3911dc4b9e95 /valexpr.cc
parent122af13d853193fab1cd2c73980c4dd196cd598b (diff)
downloadfork-ledger-3ba6e1085229df047820e5f0fd6a2bf56beed8fc.tar.gz
fork-ledger-3ba6e1085229df047820e5f0fd6a2bf56beed8fc.tar.bz2
fork-ledger-3ba6e1085229df047820e5f0fd6a2bf56beed8fc.zip
(parse_and_report): Set ledger::terminus in main.cc, instead of
relying on static initialization of valexpr.cc.
Diffstat (limited to 'valexpr.cc')
-rw-r--r--valexpr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/valexpr.cc b/valexpr.cc
index 089b471b..27ab7401 100644
--- a/valexpr.cc
+++ b/valexpr.cc
@@ -13,7 +13,7 @@ namespace ledger {
std::auto_ptr<value_expr_t> amount_expr;
std::auto_ptr<value_expr_t> total_expr;
-std::time_t terminus = now;
+std::time_t terminus;
details_t::details_t(const transaction_t& _xact)
: entry(_xact.entry), xact(&_xact), account(xact_account(_xact))