diff options
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index 5037aa595..2d3aa030b 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -179,13 +179,13 @@ #define notfinal #define FOR_EACH(type, iter, array) for (type iter = array.begin(), \ - iter##_end = array.end(); iter != iter##_end; ++ iter) + iter##_fend = array.end(); iter != iter##_fend; ++ iter) #define FOR_EACHR(type, iter, array) for (type iter = array.rbegin(), \ - iter##_end = array.rend(); iter != iter##_end; ++ iter) + iter##_fend = array.rend(); iter != iter##_fend; ++ iter) #define FOR_EACHP(type, iter, array) for (type iter = array->begin(), \ - iter##_end = array->end(); iter != iter##_end; ++ iter) + iter##_fend = array->end(); iter != iter##_fend; ++ iter) #ifdef ENABLE_CHECKPLUGIN #define A_NONNULLPOINTER __attribute__((nonnullpointer)) |