summaryrefslogtreecommitdiff
path: root/src/iterators.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-02 19:17:43 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-02 19:17:43 -0500
commit46e46dd5a337c009391583a679d6172cf4f5aa42 (patch)
tree67009e7d8681685afec8b09dcb7930570492e36f /src/iterators.cc
parenta048afc8a34d3a1c1a6372ef6b7cc373779bcac0 (diff)
parentd6790072eff9cb2a938ee9ed204263ee277a6874 (diff)
downloadfork-ledger-46e46dd5a337c009391583a679d6172cf4f5aa42.tar.gz
fork-ledger-46e46dd5a337c009391583a679d6172cf4f5aa42.tar.bz2
fork-ledger-46e46dd5a337c009391583a679d6172cf4f5aa42.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 50c67ade..540ba8ae 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::base_t::history_by_commodity_map::value_type pair,
+ foreach (commodity_t::history_by_commodity_map::value_type pair,
history->histories) {
- foreach (commodity_t::base_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();