diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-23 15:15:33 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-23 15:15:33 -0400 |
commit | 49d79045a5ca3f8a5c9df02d9be8e25c49d4daa7 (patch) | |
tree | 7b070a54704c20982b4a2bf96f08c2ef1779c0b9 /src | |
parent | e919f53c9916af622d1995514c38be68e070ba49 (diff) | |
download | fork-ledger-49d79045a5ca3f8a5c9df02d9be8e25c49d4daa7.tar.gz fork-ledger-49d79045a5ca3f8a5c9df02d9be8e25c49d4daa7.tar.bz2 fork-ledger-49d79045a5ca3f8a5c9df02d9be8e25c49d4daa7.zip |
Removed unused member keep_details_t::keep_base
Diffstat (limited to 'src')
-rw-r--r-- | src/commodity.h | 11 | ||||
-rw-r--r-- | src/report.h | 3 | ||||
-rw-r--r-- | src/textual.cc | 2 |
3 files changed, 6 insertions, 10 deletions
diff --git a/src/commodity.h b/src/commodity.h index 2962152a..d2c778c2 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -408,22 +408,19 @@ struct keep_details_t bool keep_price; bool keep_date; bool keep_tag; - bool keep_base; explicit keep_details_t(bool _keep_price = false, bool _keep_date = false, - bool _keep_tag = false, - bool _keep_base = false) + bool _keep_tag = false) : keep_price(_keep_price), keep_date(_keep_date), - keep_tag(_keep_tag), - keep_base(_keep_base) + keep_tag(_keep_tag) { - TRACE_CTOR(keep_details_t, "bool, bool, bool, bool"); + TRACE_CTOR(keep_details_t, "bool, bool, bool"); } keep_details_t(const keep_details_t& other) : keep_price(other.keep_price), keep_date(other.keep_date), - keep_tag(other.keep_tag), keep_base(other.keep_base) { + keep_tag(other.keep_tag) { TRACE_CTOR(keep_details_t, "copy"); } diff --git a/src/report.h b/src/report.h index 778848dd..8c80d91c 100644 --- a/src/report.h +++ b/src/report.h @@ -166,8 +166,7 @@ public: keep_details_t what_to_keep() { return keep_details_t(HANDLED(lots) || HANDLED(lot_prices), HANDLED(lots) || HANDLED(lot_dates), - HANDLED(lots) || HANDLED(lot_tags), - HANDLED(base)); + HANDLED(lots) || HANDLED(lot_tags)); } option_t<report_t> * lookup_option(const char * p); diff --git a/src/textual.cc b/src/textual.cc index dec2dc3a..6803c78a 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -538,7 +538,7 @@ void instance_t::automated_entry_directive(char * line) std::auto_ptr<auto_entry_t> ae (new auto_entry_t(item_predicate(skip_ws(line + 1), - keep_details_t(true, true, true, true)))); + keep_details_t(true, true, true)))); if (parse_xacts(account_stack.front(), *ae.get())) { journal.auto_entries.push_back(ae.get()); |