summaryrefslogtreecommitdiff
path: root/src/guild.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-30 18:04:08 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-30 18:04:08 +0300
commit19738d5a2d5d96aef78e51da99061a22d7cf15bb (patch)
treedced9aacaf48cf32d4a1d4a7399861c96aebc22c /src/guild.h
parentc96d089ab76316e5117c49e2ccdd3e9aab4bd29f (diff)
downloadmanaplus-19738d5a2d5d96aef78e51da99061a22d7cf15bb.tar.gz
manaplus-19738d5a2d5d96aef78e51da99061a22d7cf15bb.tar.bz2
manaplus-19738d5a2d5d96aef78e51da99061a22d7cf15bb.tar.xz
manaplus-19738d5a2d5d96aef78e51da99061a22d7cf15bb.zip
Remove unused code from guildhandler.
Fix memory leak in guild class.
Diffstat (limited to 'src/guild.h')
-rw-r--r--src/guild.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/guild.h b/src/guild.h
index 39ca42188..7986eb5d3 100644
--- a/src/guild.h
+++ b/src/guild.h
@@ -65,6 +65,8 @@ protected:
class Guild : public AvatarListModel
{
public:
+ ~Guild();
+
/**
* Set the guild's name.
*/
@@ -179,6 +181,8 @@ public:
int getEmblemId()
{ return mEmblemId; }
+ static void clearGuilds();
+
private:
typedef std::map<int, Guild*> GuildMap;
static GuildMap guilds;