summaryrefslogtreecommitdiff
path: root/src/output.cc
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.cc
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.cc')
-rw-r--r--src/output.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output.cc b/src/output.cc
index ffd144e1..92b71387 100644
--- a/src/output.cc
+++ b/src/output.cc
@@ -291,7 +291,7 @@ void report_accounts::flush()
void report_accounts::operator()(post_t& post)
{
- std::map<account_t *, std::size_t>::iterator i = accounts.find(post.account);
+ accounts_report_map::iterator i = accounts.find(post.account);
if (i == accounts.end())
accounts.insert(accounts_pair(post.account, 1));
else
@@ -362,7 +362,7 @@ void report_commodities::operator()(post_t& post)
amount_t temp(post.amount.strip_annotations(report.what_to_keep()));
commodity_t& comm(temp.commodity());
- std::map<commodity_t *, std::size_t>::iterator i = commodities.find(&comm);
+ commodities_report_map::iterator i = commodities.find(&comm);
if (i == commodities.end())
commodities.insert(commodities_pair(&comm, 1));
else
@@ -371,7 +371,7 @@ void report_commodities::operator()(post_t& post)
if (comm.has_annotation()) {
annotated_commodity_t& ann_comm(as_annotated_commodity(comm));
if (ann_comm.details.price) {
- std::map<commodity_t *, std::size_t>::iterator ii =
+ commodities_report_map::iterator ii =
commodities.find(&ann_comm.details.price->commodity());
if (ii == commodities.end())
commodities.insert