summaryrefslogtreecommitdiff
path: root/src/resources/sprite/spritedef.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-06 19:20:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-06 19:20:37 +0300
commit1f9f3f097b7acecda205fbc5a3f4846b84c00ab5 (patch)
tree4d65739b9a6b72fdd8cf1141aa7c9946cb2fe3b8 /src/resources/sprite/spritedef.cpp
parentf3d00667c5a1bffa5a04d5e86676caca6979b58d (diff)
downloadplus-1f9f3f097b7acecda205fbc5a3f4846b84c00ab5.tar.gz
plus-1f9f3f097b7acecda205fbc5a3f4846b84c00ab5.tar.bz2
plus-1f9f3f097b7acecda205fbc5a3f4846b84c00ab5.tar.xz
plus-1f9f3f097b7acecda205fbc5a3f4846b84c00ab5.zip
Add missing const.
Diffstat (limited to 'src/resources/sprite/spritedef.cpp')
-rw-r--r--src/resources/sprite/spritedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sprite/spritedef.cpp b/src/resources/sprite/spritedef.cpp
index d0985860c..0662ef7bf 100644
--- a/src/resources/sprite/spritedef.cpp
+++ b/src/resources/sprite/spritedef.cpp
@@ -624,7 +624,7 @@ int SpriteDef::calcMemoryChilds(const int level) const
FOR_EACHP (ActionMap::const_iterator, it2, actionMap)
{
sz += static_cast<int>((*it2).first.capacity());
- Action *const action = (*it2).second;
+ const Action *const action = (*it2).second;
sz += action->calcMemory(level + 1);
}
}