aboutsummaryrefslogtreecommitdiffstats
path: root/src/mem_pool.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-19 09:51:03 +0000
committerlloyd <[email protected]>2006-06-19 09:51:03 +0000
commit7612c768e68202cfffbfdab2bc973b0f63bd0a03 (patch)
tree3b00287a609622cb2d0730413232718070958ae2 /src/mem_pool.cpp
parentdad5f59194f8d153af423461c1fd20cebfc6661e (diff)
Use preincrement instead of postincrement inside of some loops (mostly
for consistency with code that uses STL iterators, as these were mostly integer operations, though with one exception).
Diffstat (limited to 'src/mem_pool.cpp')
-rw-r--r--src/mem_pool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem_pool.cpp b/src/mem_pool.cpp
index b157c1e59..4b68a7549 100644
--- a/src/mem_pool.cpp
+++ b/src/mem_pool.cpp
@@ -252,7 +252,7 @@ byte* Pooling_Allocator::allocate_blocks(u32bit n)
do
{
- i++;
+ ++i;
if(i == blocks.end())
i = blocks.begin();