summaryrefslogtreecommitdiff
path: root/src/iterators.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/iterators.h')
-rw-r--r--src/iterators.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iterators.h b/src/iterators.h
index 7ea78118..67293c5c 100644
--- a/src/iterators.h
+++ b/src/iterators.h
@@ -99,7 +99,7 @@ public:
}
virtual post_t * operator()() {
- if (posts_i == posts_end || posts_uninitialized)
+ if (posts_uninitialized || posts_i == posts_end)
return NULL;
return *posts_i++;
}