From dcffd218a1e90ee9a1cdd295c0a3015edc395448 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 14 Jun 2010 03:18:32 -0400 Subject: Revised how Ledger handles the "current year" Now when the Y directive sets the current year for a region, it affects everything, as if the clock really were set back to that year. --- src/xact.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/xact.h') diff --git a/src/xact.h b/src/xact.h index a3c639b9..41e58545 100644 --- a/src/xact.h +++ b/src/xact.h @@ -196,15 +196,13 @@ public: virtual void parse_tags(const char * p, scope_t&, - bool overwrite_existing = true, - optional = none) { + bool overwrite_existing = true) { if (! deferred_notes) deferred_notes = deferred_notes_list(); deferred_notes->push_back(deferred_tag_data_t(p, overwrite_existing)); } - virtual void extend_xact(xact_base_t& xact, - optional current_year); + virtual void extend_xact(xact_base_t& xact); #if defined(HAVE_BOOST_SERIALIZATION) private: -- cgit v1.2.3