summaryrefslogtreecommitdiff
path: root/src/channelmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-25 20:12:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-25 20:12:27 +0300
commit84e56a88817f7178b4895e2adf863b4d98b42e64 (patch)
tree794e0099ca9f749fb0b6b65b96acdb7ce5e97ef9 /src/channelmanager.h
parent4a21e45a63137009a654a212ea7512ecc2846648 (diff)
downloadmv-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.gz
mv-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.bz2
mv-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.xz
mv-84e56a88817f7178b4895e2adf863b4d98b42e64.zip
Add const to other classes.
Diffstat (limited to 'src/channelmanager.h')
-rw-r--r--src/channelmanager.h6
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;