diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-25 20:12:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-25 20:12:27 +0300 |
commit | 84e56a88817f7178b4895e2adf863b4d98b42e64 (patch) | |
tree | 794e0099ca9f749fb0b6b65b96acdb7ce5e97ef9 /src/channel.h | |
parent | 4a21e45a63137009a654a212ea7512ecc2846648 (diff) | |
download | mv-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.gz mv-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.bz2 mv-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.xz mv-84e56a88817f7178b4895e2adf863b4d98b42e64.zip |
Add const to other classes.
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 cf52743f0..1df0e3204 100644 --- a/src/channel.h +++ b/src/channel.h @@ -37,7 +37,7 @@ class Channel * @param name the name of the channel. * @param announcement a welcome message. */ - Channel(short id, + Channel(const short id, const std::string &name, const std::string &announcement = std::string()); @@ -78,7 +78,7 @@ class Channel protected: friend class ChannelTab; - void setTab(ChannelTab *tab) + void setTab(ChannelTab *const tab) { mTab = tab; } private: |