summaryrefslogtreecommitdiff
path: root/src/commandhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-26 21:29:59 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-26 21:29:59 +0300
commita33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 (patch)
tree1b1e98a615e2c03641c99b66cb4667b56f7087c3 /src/commandhandler.h
parent012a10fd8153f3ddb775dde1e4dba4456f2aa9de (diff)
downloadplus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.gz
plus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.bz2
plus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.xz
plus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.zip
Add const to some classes.
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r--src/commandhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commandhandler.h b/src/commandhandler.h
index 279673653..3a6510661 100644
--- a/src/commandhandler.h
+++ b/src/commandhandler.h
@@ -55,10 +55,10 @@ class CommandHandler
* Parse and handle the given command.
*/
static void handleCommand(const std::string &command,
- ChatTab *tab = localChatTab);
+ ChatTab *const tab = localChatTab);
static void handleCommands(const std::string &command,
- ChatTab *tab = localChatTab);
+ ChatTab *const tab = localChatTab);
static void replaceVars(std::string &str);