diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-02 17:05:51 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-02 17:05:51 -0500 |
commit | e663a13502b8813a28b8aebbc611fbc040d4246b (patch) | |
tree | aece620f1644c495bd024f6f32409bfb6bf962ae /src/iterators.cc | |
parent | dea9530cb7d65486143b866b60d9bd1e4914aa56 (diff) | |
download | fork-ledger-e663a13502b8813a28b8aebbc611fbc040d4246b.tar.gz fork-ledger-e663a13502b8813a28b8aebbc611fbc040d4246b.tar.bz2 fork-ledger-e663a13502b8813a28b8aebbc611fbc040d4246b.zip |
Changed protection level of many parts of commodity_t
Diffstat (limited to 'src/iterators.cc')
-rw-r--r-- | src/iterators.cc | 4 |
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(); |