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/channelmanager.h | |
parent | 4a21e45a63137009a654a212ea7512ecc2846648 (diff) | |
download | plus-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.gz plus-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.bz2 plus-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.xz plus-84e56a88817f7178b4895e2adf863b4d98b42e64.zip |
Add const to other classes.
Diffstat (limited to 'src/channelmanager.h')
-rw-r--r-- | src/channelmanager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/channelmanager.h b/src/channelmanager.h index 6798bdfa8..77b2f7476 100644 --- a/src/channelmanager.h +++ b/src/channelmanager.h @@ -34,11 +34,11 @@ public: ChannelManager(); ~ChannelManager(); - Channel *findById(int id) const; + Channel *findById(const int id) const; Channel *findByName(const std::string &name) const; - void addChannel(Channel *channel); - void removeChannel(Channel *channel); + void addChannel(Channel *const channel); + void removeChannel(Channel *const channel); private: std::list<Channel*> mChannels; |