diff options
author | lloyd <[email protected]> | 2006-06-19 09:51:03 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-19 09:51:03 +0000 |
commit | 7612c768e68202cfffbfdab2bc973b0f63bd0a03 (patch) | |
tree | 3b00287a609622cb2d0730413232718070958ae2 /src/mem_pool.cpp | |
parent | dad5f59194f8d153af423461c1fd20cebfc6661e (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.cpp | 2 |
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(); |