summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-01 15:14:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-01 23:42:37 +0300
commitf9030497b6196ce2fadb6b6ada5d784be227d9a6 (patch)
treed11408b35d0860709d31e6520578cdd28391f151 /src/actormanager.h
parentf52ca7838789a6910840597a929ecf6e0be9e1de (diff)
downloadmanaplus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.gz
manaplus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.bz2
manaplus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.xz
manaplus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.zip
Add missing const.
Diffstat (limited to 'src/actormanager.h')
-rw-r--r--src/actormanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actormanager.h b/src/actormanager.h
index f7e306b2a..df5d7ab38 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -251,10 +251,10 @@ class ActorManager final: public ConfigListener
void addIgnorePickupItem(const std::string &name);
- void setPriorityAttackMobs(std::list<std::string> mobs)
+ void setPriorityAttackMobs(const std::list<std::string> &mobs)
{ mPriorityAttackMobs = mobs; }
- void setAttackMobs(std::list<std::string> mobs)
+ void setAttackMobs(const std::list<std::string> &mobs)
{ mAttackMobs = mobs; }
int getPriorityAttackMobsSize() const A_WARN_UNUSED