diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-11 20:03:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-11 20:03:02 +0300 |
commit | 91fa2122a536770924bb2819bec4b79e76393d08 (patch) | |
tree | 93c0e191249b2158cf92a564630a4b16e9ccdcaa /src/net/ea/gamehandler.cpp | |
parent | 1a524dc9468fe532bc060a73ef736a68687aadca (diff) | |
download | manaplus-91fa2122a536770924bb2819bec4b79e76393d08.tar.gz manaplus-91fa2122a536770924bb2819bec4b79e76393d08.tar.bz2 manaplus-91fa2122a536770924bb2819bec4b79e76393d08.tar.xz manaplus-91fa2122a536770924bb2819bec4b79e76393d08.zip |
Fix code style and small perfomance issues.
Diffstat (limited to 'src/net/ea/gamehandler.cpp')
-rw-r--r-- | src/net/ea/gamehandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp index 1cb105204..ededed886 100644 --- a/src/net/ea/gamehandler.cpp +++ b/src/net/ea/gamehandler.cpp @@ -62,7 +62,7 @@ void GameHandler::who() { } -void GameHandler::setMap(const std::string map) +void GameHandler::setMap(const std::string &map) { mMap = map.substr(0, map.rfind(".")); } |