Removed unused member keep_details_t::keep_base
This commit is contained in:
parent
e919f53c99
commit
49d79045a5
3 changed files with 6 additions and 10 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue