diff options
Diffstat (limited to 'walk.cc')
-rw-r--r-- | walk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |