From d0f2b64cbebe54e32519f48819f2c55cb8417e99 Mon Sep 17 00:00:00 2001 From: Ilya T Date: Fri, 13 Mar 2015 08:20:37 +0700 Subject: Fix clang compile error (FreeBSD 10). --- src/output.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/output.h') 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 protected: report_t& report; - std::map accounts; - typedef std::map::value_type accounts_pair; + typedef std::map 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 protected: report_t& report; - std::map commodities; - typedef std::map::value_type commodities_pair; + typedef std::map commodities_report_map; + + commodities_report_map commodities; public: report_commodities(report_t& _report) : report(_report) { -- cgit v1.2.3