summaryrefslogtreecommitdiff
path: root/src/actor.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-25 01:52:08 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-25 02:16:11 +0300
commitda457cf152d5aff51d859c18d3668682348dbf7a (patch)
tree6ec10caec1fc472f2ef3c7664a1c536434df1c0f /src/actor.cpp
parentb474de4a54c9b1d4d863971e40b807588d554436 (diff)
downloadmv-da457cf152d5aff51d859c18d3668682348dbf7a.tar.gz
mv-da457cf152d5aff51d859c18d3668682348dbf7a.tar.bz2
mv-da457cf152d5aff51d859c18d3668682348dbf7a.tar.xz
mv-da457cf152d5aff51d859c18d3668682348dbf7a.zip
change vars or methods to const.
Diffstat (limited to 'src/actor.cpp')
-rw-r--r--src/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actor.cpp b/src/actor.cpp
index 5af1f47d3..2e14a68b1 100644
--- a/src/actor.cpp
+++ b/src/actor.cpp
@@ -39,7 +39,7 @@ Actor::~Actor()
setMap(nullptr);
}
-void Actor::setMap(Map *map)
+void Actor::setMap(Map *const map)
{
// Remove Actor from potential previous map
if (mMap)