diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-22 17:04:38 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-22 21:35:02 -0400 |
commit | 02e78255166b17bff08a408166cc56ff9269c925 (patch) | |
tree | c2c0016572efdeb356a793aa1e9414a9e9058bfe /src/output.h | |
parent | de3803d0277353520116f05c7b2357196a8cfe48 (diff) | |
download | fork-ledger-02e78255166b17bff08a408166cc56ff9269c925.tar.gz fork-ledger-02e78255166b17bff08a408166cc56ff9269c925.tar.bz2 fork-ledger-02e78255166b17bff08a408166cc56ff9269c925.zip |
Option --count sums payees, account, commodities
Diffstat (limited to 'src/output.h')
-rw-r--r-- | src/output.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/output.h b/src/output.h index 3e70d9fe..3a7b68df 100644 --- a/src/output.h +++ b/src/output.h @@ -108,9 +108,9 @@ class report_accounts : public item_handler<post_t> protected: report_t& report; - std::map<account_t *, bool> accounts; + std::map<account_t *, std::size_t> accounts; - typedef std::map<account_t *, bool>::value_type accounts_pair; + typedef std::map<account_t *, std::size_t>::value_type accounts_pair; public: report_accounts(report_t& _report) : report(_report) { @@ -129,9 +129,9 @@ class report_payees : public item_handler<post_t> protected: report_t& report; - std::map<string, bool> payees; + std::map<string, std::size_t> payees; - typedef std::map<string, bool>::value_type payees_pair; + typedef std::map<string, std::size_t>::value_type payees_pair; public: report_payees(report_t& _report) : report(_report) { @@ -150,9 +150,9 @@ class report_commodities : public item_handler<post_t> protected: report_t& report; - std::map<commodity_t *, bool> commodities; + std::map<commodity_t *, std::size_t> commodities; - typedef std::map<commodity_t *, bool>::value_type commodities_pair; + typedef std::map<commodity_t *, std::size_t>::value_type commodities_pair; public: report_commodities(report_t& _report) : report(_report) { |