From b4304515ff0501da47cbcd4b47c770e2bb55a83d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 28 Aug 2004 04:26:48 -0400 Subject: ledger.so (the python module) now builds based on autoconf discovery --- walk.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'walk.cc') 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(sort_order)); - for (transactions_list::iterator i = transactions.begin(); + for (std::deque::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::iterator d = days_of_the_week[i].begin(); d != days_of_the_week[i].end(); d++) subtotal_transactions::operator()(*d); -- cgit v1.2.3