From 1f9f3f097b7acecda205fbc5a3f4846b84c00ab5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 6 May 2016 19:20:37 +0300 Subject: Add missing const. --- src/resources/action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/action.cpp') diff --git a/src/resources/action.cpp b/src/resources/action.cpp index a44cc1aee..ff7a48997 100644 --- a/src/resources/action.cpp +++ b/src/resources/action.cpp @@ -97,7 +97,7 @@ int Action::calcMemoryChilds(const int level) const FOR_EACH (AnimationCIter, it, mAnimations) { sz += sizeof(SpriteDirection::Type); - Animation *const animation = (*it).second; + const Animation *const animation = (*it).second; sz += animation->calcMemory(level + 1); } return sz; -- cgit v1.2.3-70-g09d2