From a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 26 Aug 2012 21:29:59 +0300 Subject: Add const to some classes. --- src/commandhandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commandhandler.h') 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); -- cgit v1.2.3-60-g2f50