From 6fdb272d7bc887de234daa2c056d9926cebdfe2b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 17 Oct 2013 23:04:12 +0300 Subject: fix const in declarations in compoundsprite. --- src/being/compoundsprite.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp index 64231ee05..f7adddf50 100644 --- a/src/being/compoundsprite.cpp +++ b/src/being/compoundsprite.cpp @@ -137,7 +137,7 @@ bool CompoundSprite::draw(Graphics *const graphics, } void CompoundSprite::drawSprites(Graphics *const graphics, - const int posX, const int posY) const + int posX, int posY) const { FOR_EACH (SpriteConstIterator, it, mSprites) { @@ -150,7 +150,7 @@ void CompoundSprite::drawSprites(Graphics *const graphics, } void CompoundSprite::drawSpritesSDL(Graphics *const graphics, - const int posX, const int posY) const + int posX, int posY) const { FOR_EACH (SpriteConstIterator, it, mSprites) { @@ -537,7 +537,7 @@ void CompoundSprite::initCurrentCacheItem() const } } -bool CompoundSprite::updateNumber(unsigned num) +bool CompoundSprite::updateNumber(const unsigned num) { bool res(false); FOR_EACH (SpriteConstIterator, it, mSprites) -- cgit v1.2.3-70-g09d2