summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-09 04:41:50 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-09 04:41:50 +0300
commit62471b26135021d75f1b9255ab613746ae2ad67a (patch)
tree6b5e8b29c6c9432ba03ce2fe06a5df4dc19e2ca3 /src/being
parente6704b8b023f5507be7b1bc5ba0b564e30e6e30f (diff)
downloadplus-62471b26135021d75f1b9255ab613746ae2ad67a.tar.gz
plus-62471b26135021d75f1b9255ab613746ae2ad67a.tar.bz2
plus-62471b26135021d75f1b9255ab613746ae2ad67a.tar.xz
plus-62471b26135021d75f1b9255ab613746ae2ad67a.zip
Remove useless A_CONST attributes.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.h2
-rw-r--r--src/being/localplayer.h2
-rw-r--r--src/being/playerinfo.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 04e6cb6ef..4e672ef52 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -265,7 +265,7 @@ class Being notfinal : public ActorSprite,
*/
void setGuildName(const std::string &restrict name) restrict2;
- void setGuildPos(const std::string &restrict pos) restrict2 A_CONST;
+ void setGuildPos(const std::string &restrict pos) restrict2;
/**
* Adds a guild to the being.
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index fdb45d0e6..f8faaaecb 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -358,7 +358,7 @@ class LocalPlayer final : public Being,
int getPathLength(const Being *const being) const A_WARN_UNUSED;
- void targetMoved() const A_CONST;
+ void targetMoved() const;
void setLastHitFrom(const std::string &n)
{ mLastHitFrom = n; }
diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h
index 4513372f6..81caa971f 100644
--- a/src/being/playerinfo.h
+++ b/src/being/playerinfo.h
@@ -202,7 +202,7 @@ namespace PlayerInfo
/**
* Initializes some internals.
*/
- void init() A_CONST;
+ void init();
void deinit();