diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-20 05:03:54 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-20 05:03:54 -0400 |
commit | 52fc9f2e4499e75d17e7f12d32a8391054d8634a (patch) | |
tree | 164b6b4cdb6717f2df7d154793499e90bdd3ae3e /format.h | |
parent | 59f6ffb863b7121b8a49c13dd64f9943ddaf7ed0 (diff) | |
download | ledger-52fc9f2e4499e75d17e7f12d32a8391054d8634a.tar.gz ledger-52fc9f2e4499e75d17e7f12d32a8391054d8634a.tar.bz2 ledger-52fc9f2e4499e75d17e7f12d32a8391054d8634a.zip |
Brought in the final round of 3.0 code, although it does not compile yet:
report, session, parts of xpath, main, journal, option.
Diffstat (limited to 'format.h')
-rw-r--r-- | format.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -154,16 +154,16 @@ void print_entry(std::ostream& out, const entry_base_t& entry, const string& prefix = ""); bool disp_subaccounts_p(const account_t& account, - const item_predicate<account_t>& disp_pred, + const optional<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, item_predicate<account_t>(NULL), temp); + return disp_subaccounts_p(account, none, temp); } bool display_account(const account_t& account, - const item_predicate<account_t>& disp_pred); + const optional<item_predicate<account_t> >& disp_pred); class format_account : public item_handler<account_t> { |