summaryrefslogtreecommitdiff
path: root/src/output.h
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2015-04-05 09:41:44 -0700
committerCraig Earls <enderw88@gmail.com>2015-04-05 09:41:44 -0700
commit17a267e1017a7448a364738e5c7eafaa820c622b (patch)
treeb6e8e766f455bf9357b41108ba2edda13fd8a40a /src/output.h
parent1f803d629491991afb8aa9cd1d159313b2af78c7 (diff)
parentdd6185a12091045831fc3e0a0c36217e44762333 (diff)
downloadfork-ledger-17a267e1017a7448a364738e5c7eafaa820c622b.tar.gz
fork-ledger-17a267e1017a7448a364738e5c7eafaa820c622b.tar.bz2
fork-ledger-17a267e1017a7448a364738e5c7eafaa820c622b.zip
Merge commit 'dd6185a12091045831fc3e0a0c36217e44762333' into next
Diffstat (limited to 'src/output.h')
-rw-r--r--src/output.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/output.h b/src/output.h
index ec7ec6c2..1305fa77 100644
--- a/src/output.h
+++ b/src/output.h
@@ -142,9 +142,10 @@ class report_accounts : public item_handler<post_t>
protected:
report_t& report;
- std::map<account_t *, std::size_t, account_compare> accounts;
-
typedef std::map<account_t *, std::size_t>::value_type accounts_pair;
+ typedef std::map<account_t *, std::size_t, account_compare> accounts_report_map;
+
+ accounts_report_map accounts;
public:
report_accounts(report_t& _report) : report(_report) {
@@ -221,9 +222,10 @@ class report_commodities : public item_handler<post_t>
protected:
report_t& report;
- std::map<commodity_t *, std::size_t, commodity_compare> commodities;
-
typedef std::map<commodity_t *, std::size_t>::value_type commodities_pair;
+ typedef std::map<commodity_t *, std::size_t, commodity_compare> commodities_report_map;
+
+ commodities_report_map commodities;
public:
report_commodities(report_t& _report) : report(_report) {