diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-23 02:46:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-23 02:48:43 +0300 |
commit | a69a87c5a81ddbf25a25c5549259da550d207bda (patch) | |
tree | 59f1a919b327912395ab84bab1684118bf0379be /src/compoundsprite.cpp | |
parent | e646f2fae3f323b7faa26aa9540524d1765211ee (diff) | |
download | plus-a69a87c5a81ddbf25a25c5549259da550d207bda.tar.gz plus-a69a87c5a81ddbf25a25c5549259da550d207bda.tar.bz2 plus-a69a87c5a81ddbf25a25c5549259da550d207bda.tar.xz plus-a69a87c5a81ddbf25a25c5549259da550d207bda.zip |
Improve a bit iterators again.
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r-- | src/compoundsprite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index c6243c00c..fa5b4b202 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -548,8 +548,8 @@ void CompoundSprite::initCurrentCacheItem() const mCacheItem->alphaImage = mAlphaImage; // mCacheItem->alpha = mAlpha; - SpriteConstIterator it, it_end; - for (it = mSprites.begin(), it_end = mSprites.end(); it != it_end; ++ it) + for (SpriteConstIterator it = mSprites.begin(), it_end = mSprites.end(); + it != it_end; ++ it) { if (*it) mCacheItem->data.push_back((*it)->getHash()); |