summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-07 17:56:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-07 17:56:08 +0300
commit82a4015692e630f36f94a55590c1b59b958c5a17 (patch)
tree72e7cbd31b45e13d252a38d5fcad4620b48ec6b5 /src/being/localplayer.cpp
parentafc6bb37100fd110512cd1119920719376e87ecf (diff)
downloadmanaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.gz
manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.bz2
manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.xz
manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.zip
add missing const and static keywords.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index a8caa73fa..cc8436408 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2121,7 +2121,7 @@ static const char *const debugPathStrings[] =
N_("(b) black & white map view")
};
-std::string LocalPlayer::getDebugPathString() const
+std::string LocalPlayer::getDebugPathString()
{
return gettext(getVarItem(&debugPathStrings[0],
viewport->getDebugPath(), debugPathSize));
@@ -2277,7 +2277,7 @@ static const char *const cameraModeStrings[] =
N_("(?) away")
};
-std::string LocalPlayer::getCameraModeString() const
+std::string LocalPlayer::getCameraModeString()
{
return gettext(getVarItem(&cameraModeStrings[0],
viewport->getCameraMode(), cameraModeSize));