summaryrefslogtreecommitdiff
path: root/src/channel.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-27 09:03:13 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-27 09:03:13 +0000
commitee15a808a1e0d36167f80d9f96147103ba5583de (patch)
tree0756c69cfb8c8d09b0abc29aa302aeea81a59af5 /src/channel.h
parent4d546730d97828bfed5586c1d50527c7ff5e5c79 (diff)
downloadmana-client-ee15a808a1e0d36167f80d9f96147103ba5583de.tar.gz
mana-client-ee15a808a1e0d36167f80d9f96147103ba5583de.tar.bz2
mana-client-ee15a808a1e0d36167f80d9f96147103ba5583de.tar.xz
mana-client-ee15a808a1e0d36167f80d9f96147103ba5583de.zip
Made it compile with GCC 4.3
Diffstat (limited to 'src/channel.h')
-rw-r--r--src/channel.h4
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;