summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-07 17:56:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-07 17:56:08 +0300
commit82a4015692e630f36f94a55590c1b59b958c5a17 (patch)
tree72e7cbd31b45e13d252a38d5fcad4620b48ec6b5 /src/commandhandler.cpp
parentafc6bb37100fd110512cd1119920719376e87ecf (diff)
downloadplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.gz
plus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.bz2
plus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.xz
plus-82a4015692e630f36f94a55590c1b59b958c5a17.zip
add missing const and static keywords.
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 8409b8d58..6d3881432 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -68,7 +68,7 @@ void CommandHandler::handleCommands(const std::string &command,
}
void CommandHandler::handleCommand(const std::string &command,
- ChatTab *const tab)
+ ChatTab *const tab) const
{
const size_t pos = command.find(' ');
const std::string type(command, 0, pos);