summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
commit5c3746562bafd61603c67958fc82ff097a69e3a4 (patch)
treec36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/actormanager.h
parent60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff)
downloadmanaverse-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz
manaverse-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2
manaverse-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz
manaverse-5c3746562bafd61603c67958fc82ff097a69e3a4.zip
Add missing const and static into other classes.
Diffstat (limited to 'src/actormanager.h')
-rw-r--r--src/actormanager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/actormanager.h b/src/actormanager.h
index 9ccd5eaa6..d7b760d51 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -296,8 +296,9 @@ class ActorManager final: public ConfigListener
int getPickupItemIndex(const std::string &name) const A_WARN_UNUSED;
- int getIndexByName(const std::string &name, const std::map<std::string,
- int> &map) const A_WARN_UNUSED;
+ static int getIndexByName(const std::string &name,
+ const std::map<std::string,int> &map)
+ A_WARN_UNUSED;
bool checkForPickup(const FloorItem *const item) const A_WARN_UNUSED;