summaryrefslogtreecommitdiff
path: root/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'report.h')
-rw-r--r--report.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/report.h b/report.h
index a492a9a4..e00f25f0 100644
--- a/report.h
+++ b/report.h
@@ -351,17 +351,12 @@ class format_entries : public format_xacts
void print_entry(std::ostream& out, const entry_base_t& entry,
const string& prefix = "");
-bool disp_subaccounts_p(const account_t& account,
- const optional<item_predicate<account_t> >& disp_pred,
- const account_t *& to_show);
+bool disp_subaccounts_p(const account_t& account,
+ item_predicate<account_t>& disp_pred,
+ const account_t *& to_show);
-inline bool disp_subaccounts_p(const account_t& account) {
- const account_t * temp;
- return disp_subaccounts_p(account, none, temp);
-}
-
-bool display_account(const account_t& account,
- const optional<item_predicate<account_t> >& disp_pred);
+bool display_account(const account_t& account,
+ item_predicate<account_t>& disp_pred);
class format_accounts : public item_handler<account_t>
{