From c430b75e370a21a17f80d4ba3acd84111828a462 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Sep 2013 20:08:44 +0300 Subject: add const for methods return values. --- src/being/being.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index 1668d17eb..ddc083c34 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -322,12 +322,12 @@ class Being : public ActorSprite, public ConfigListener /** * Returns a pointer to the specified guild that the being is in. */ - Guild *getGuild(const std::string &guildName) const A_WARN_UNUSED; + const Guild *getGuild(const std::string &guildName) const A_WARN_UNUSED; /** * Returns a pointer to the specified guild that the being is in. */ - Guild *getGuild(const int id) const A_WARN_UNUSED; + const Guild *getGuild(const int id) const A_WARN_UNUSED; /** * Returns a pointer to the specified guild that the being is in. @@ -425,7 +425,7 @@ class Being : public ActorSprite, public ConfigListener const BeingInfo *getInfo() const A_WARN_UNUSED { return mInfo; } - TargetCursorSize getTargetCursorSize() const A_WARN_UNUSED; + TargetCursorSize getTargetCursorSize() const override A_WARN_UNUSED; int getTargetOffsetX() const A_WARN_UNUSED { -- cgit v1.2.3-60-g2f50