diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-27 09:03:13 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-27 09:03:13 +0000 |
commit | ee15a808a1e0d36167f80d9f96147103ba5583de (patch) | |
tree | 0756c69cfb8c8d09b0abc29aa302aeea81a59af5 /src/channel.h | |
parent | 4d546730d97828bfed5586c1d50527c7ff5e5c79 (diff) | |
download | mana-ee15a808a1e0d36167f80d9f96147103ba5583de.tar.gz mana-ee15a808a1e0d36167f80d9f96147103ba5583de.tar.bz2 mana-ee15a808a1e0d36167f80d9f96147103ba5583de.tar.xz mana-ee15a808a1e0d36167f80d9f96147103ba5583de.zip |
Made it compile with GCC 4.3
Diffstat (limited to 'src/channel.h')
-rw-r--r-- | src/channel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel.h b/src/channel.h index 0a62e073..ea6789ee 100644 --- a/src/channel.h +++ b/src/channel.h @@ -30,8 +30,8 @@ class Channel Channel(short id); std::string getName() const; void setName(const std::string &channelName); - const short getId() const; - const int getUserListSize() const; + int getId() const { return mID; } + int getUserListSize() const; std::string getUser(unsigned int i) const; private: typedef std::vector<std::string> Users; |