summaryrefslogtreecommitdiff
path: root/src/iterators.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-05 16:15:09 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-05 16:15:09 -0400
commit290cac7b84b60305e185c140645c9bac2ca9fb0e (patch)
treec389da2eed81612ffb3868f61c31fa2534855fe1 /src/iterators.cc
parentf8bfbf8c250fa24bc9e26b9bf1eb64815a5a29ee (diff)
parent1417b40fdf0a92a85ab01f233c0ae076079901a2 (diff)
downloadfork-ledger-290cac7b84b60305e185c140645c9bac2ca9fb0e.tar.gz
fork-ledger-290cac7b84b60305e185c140645c9bac2ca9fb0e.tar.bz2
fork-ledger-290cac7b84b60305e185c140645c9bac2ca9fb0e.zip
Merge branch 'next'
Diffstat (limited to 'src/iterators.cc')
-rw-r--r--src/iterators.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iterators.cc b/src/iterators.cc
index f3a68978..ade1d4b3 100644
--- a/src/iterators.cc
+++ b/src/iterators.cc
@@ -94,9 +94,9 @@ void posts_commodities_iterator::reset(journal_t& journal)
comm->varied_history()) {
account_t * account = journal.master->find_account(comm->symbol());
- foreach (commodity_t::history_by_commodity_map::value_type pair,
+ foreach (commodity_t::history_by_commodity_map::value_type& pair,
history->histories) {
- foreach (commodity_t::history_map::value_type hpair,
+ foreach (commodity_t::history_map::value_type& hpair,
pair.second.prices) {
xact_t * xact;
string symbol = hpair.second.commodity().symbol();