summaryrefslogtreecommitdiff
path: root/src/iterators.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-04 03:35:06 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-05 05:03:52 -0600
commit48ab6ad1dbab100bb8abd87029a0ca5bc501a3db (patch)
tree294112ea9df8ecac90c98c08327ce13fe5592682 /src/iterators.cc
parent58d912827d2c6bd90c063537378baffff014c0f2 (diff)
downloadfork-ledger-48ab6ad1dbab100bb8abd87029a0ca5bc501a3db.tar.gz
fork-ledger-48ab6ad1dbab100bb8abd87029a0ca5bc501a3db.tar.bz2
fork-ledger-48ab6ad1dbab100bb8abd87029a0ca5bc501a3db.zip
Switched to using Boost.Graph for commodity pricing
Diffstat (limited to 'src/iterators.cc')
-rw-r--r--src/iterators.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/iterators.cc b/src/iterators.cc
index 72e0481c..b7ed011e 100644
--- a/src/iterators.cc
+++ b/src/iterators.cc
@@ -90,6 +90,8 @@ void posts_commodities_iterator::reset(journal_t& journal)
std::map<string, xact_t *> xacts_by_commodity;
+#if 0
+ // jww (2012-03-04): TODO
foreach (commodity_t * comm, commodities) {
if (optional<commodity_t::varied_history_t&> history =
comm->varied_history()) {
@@ -136,6 +138,7 @@ void posts_commodities_iterator::reset(journal_t& journal)
}
}
}
+#endif
xacts.reset(xact_temps.begin(), xact_temps.end());