From 098f3d45d723a1fe1fa5f011f65ffd49915cc281 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 12 Mar 2012 22:38:52 -0500 Subject: Fixed speed issue with commodities reports --- src/filters.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/filters.h') diff --git a/src/filters.h b/src/filters.h index af68cd7c..1ef92bbe 100644 --- a/src/filters.h +++ b/src/filters.h @@ -156,7 +156,7 @@ public: : item_handler(handler) { TRACE_CTOR(pass_down_posts, "post_handler_ptr, posts_iterator"); - while (post_t * post = *iter++) { + while (post_t * post = *iter) { try { item_handler::operator()(*post); } @@ -164,6 +164,7 @@ public: add_error_context(item_context(*post, _("While handling posting"))); throw; } + iter.increment(); } item_handler::flush(); -- cgit v1.2.3