From 3ba6e1085229df047820e5f0fd6a2bf56beed8fc Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 10 Nov 2005 12:06:41 +0000 Subject: (parse_and_report): Set ledger::terminus in main.cc, instead of relying on static initialization of valexpr.cc. --- valexpr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'valexpr.cc') 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 amount_expr; std::auto_ptr 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)) -- cgit v1.2.3