Fixed speed issue with commodities reports
This commit is contained in:
parent
be289fba1f
commit
098f3d45d7
1 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ public:
|
|||
: item_handler<post_t>(handler) {
|
||||
TRACE_CTOR(pass_down_posts, "post_handler_ptr, posts_iterator");
|
||||
|
||||
while (post_t * post = *iter++) {
|
||||
while (post_t * post = *iter) {
|
||||
try {
|
||||
item_handler<post_t>::operator()(*post);
|
||||
}
|
||||
|
|
@ -164,6 +164,7 @@ public:
|
|||
add_error_context(item_context(*post, _("While handling posting")));
|
||||
throw;
|
||||
}
|
||||
iter.increment();
|
||||
}
|
||||
|
||||
item_handler<post_t>::flush();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue