summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:48:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:48:01 +0300
commit3f76d07b673de76d7c4e434bd5a214f3480927cb (patch)
treee44953d0e1ba69146709b92d619f5f1970b20d36 /src/being/being.h
parent7f9d948a34c0afeb2fbf3e663d058048248b622f (diff)
downloadmanaplus-3f76d07b673de76d7c4e434bd5a214f3480927cb.tar.gz
manaplus-3f76d07b673de76d7c4e434bd5a214f3480927cb.tar.bz2
manaplus-3f76d07b673de76d7c4e434bd5a214f3480927cb.tar.xz
manaplus-3f76d07b673de76d7c4e434bd5a214f3480927cb.zip
Add missing const and static into being classes.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/being/being.h b/src/being/being.h
index d3dfe2cc1..b9039bce3 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -1025,9 +1025,10 @@ class Being : public ActorSprite, public ConfigListener
int searchSlotValue(const std::vector<int> &slotRemap,
const int val) const A_WARN_UNUSED;
- void searchSlotValueItr(std::vector<int>::iterator &it, int &idx,
- std::vector<int> &slotRemap,
- const int val) const;
+ static void searchSlotValueItr(std::vector<int>::iterator &it,
+ int &idx,
+ std::vector<int> &slotRemap,
+ const int val);
void dumpSprites() const;