summaryrefslogtreecommitdiff
path: root/walk.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-28 04:26:48 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-28 04:26:48 -0400
commitb4304515ff0501da47cbcd4b47c770e2bb55a83d (patch)
tree03bfa7fb21d09cffa20ded425016ad8b0aef7e21 /walk.cc
parent863485ad8ff29399fb9eafd1cfc863c5e8aa27f6 (diff)
downloadfork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.tar.gz
fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.tar.bz2
fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.zip
ledger.so (the python module) now builds based on autoconf discovery
Diffstat (limited to 'walk.cc')
-rw-r--r--walk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/walk.cc b/walk.cc
index ffcaede0..0fadd1e6 100644
--- a/walk.cc
+++ b/walk.cc
@@ -8,7 +8,7 @@ void sort_transactions::flush()
std::stable_sort(transactions.begin(), transactions.end(),
compare_items<transaction_t>(sort_order));
- for (transactions_list::iterator i = transactions.begin();
+ for (std::deque<transaction_t *>::iterator i = transactions.begin();
i != transactions.end();
i++)
(*handler)(*i);
@@ -286,7 +286,7 @@ void interval_transactions::operator()(transaction_t * xact)
void dow_transactions::flush()
{
for (int i = 0; i < 7; i++) {
- for (transactions_list::iterator d = days_of_the_week[i].begin();
+ for (std::deque<transaction_t *>::iterator d = days_of_the_week[i].begin();
d != days_of_the_week[i].end();
d++)
subtotal_transactions::operator()(*d);