summaryrefslogtreecommitdiff
path: root/src/guild.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/guild.h')
-rw-r--r--src/guild.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/guild.h b/src/guild.h
index 9b0eff9c..0bee95e0 100644
--- a/src/guild.h
+++ b/src/guild.h
@@ -46,8 +46,6 @@ protected:
GuildMember(Guild *guild, int id, const std::string &name);
- GuildMember(Guild *guild, int id);
-
GuildMember(Guild *guild, const std::string &name);
int mId;
@@ -74,11 +72,6 @@ public:
/**
* Adds member to the list.
*/
- GuildMember *addMember(int id);
-
- /**
- * Adds member to the list.
- */
GuildMember *addMember(const std::string &name);
/**
@@ -86,14 +79,14 @@ public:
*
* @return the member with the given ID, or NULL if they don't exist.
*/
- GuildMember *getMember(int id);
+ GuildMember *getMember(int id) const;
/**
* Find a member by name.
*
* @return the member with the given name, or NULL if they don't exist.
*/
- GuildMember *getMember(std::string name);
+ GuildMember *getMember(const std::string &name) const;
/**
* Get the name of the guild.