summaryrefslogtreecommitdiff
path: root/src/output.h
diff options
context:
space:
mode:
authorIlya T <mlmtree@gmail.com>2015-03-13 08:20:37 +0700
committerIlya T <mlmtree@gmail.com>2015-03-13 08:20:37 +0700
commitd0f2b64cbebe54e32519f48819f2c55cb8417e99 (patch)
treeb7d98ceb46cd9b088622893bbb70b652e32c70a6 /src/output.h
parent61ef633c92c084600b9849ad5c19cc95027edc63 (diff)
downloadfork-ledger-d0f2b64cbebe54e32519f48819f2c55cb8417e99.tar.gz
fork-ledger-d0f2b64cbebe54e32519f48819f2c55cb8417e99.tar.bz2
fork-ledger-d0f2b64cbebe54e32519f48819f2c55cb8417e99.zip
Fix clang compile error (FreeBSD 10).
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) {