aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-01 14:56:34 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-01 14:56:34 -0800
commitfd4df6f9bb918d62ae31881230f2d5f8b09e129e (patch)
treebf1e86c4dae93eaec67d6f64d6587c30cdb672f3 /parser.h
parent5d18d60e3b9f9f4d6e12f14e8c68b147429b9fb3 (diff)
Changed iterators from iter++ to ++iter
Large set of changes to history to ensure that histories from other sessions don't "bleed" into the current session
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.h b/parser.h
index 6d908de6..8f2f1adf 100644
--- a/parser.h
+++ b/parser.h
@@ -37,7 +37,7 @@ struct event_block_t
typedef std::deque<event_block_t> event_block_list_t;
inline bool event_block_list_blocks_type(const event_block_list_t &ebls, int type) {
- for (event_block_list_t::const_iterator iter = ebls.begin(); iter != ebls.end(); iter++) {
+ for (event_block_list_t::const_iterator iter = ebls.begin(); iter != ebls.end(); ++iter) {
if( iter->typemask & (1<<EVENT_ANY ) )
return true;
if( iter->typemask & (1<<type) )