diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:49:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:49:08 +0300 |
commit | 5c3746562bafd61603c67958fc82ff097a69e3a4 (patch) | |
tree | c36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/actormanager.h | |
parent | 60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff) | |
download | manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2 manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.zip |
Add missing const and static into other classes.
Diffstat (limited to 'src/actormanager.h')
-rw-r--r-- | src/actormanager.h | 5 |
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; |