diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/network.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/network.h | 4 | ||||
-rw-r--r-- | src/net/tmwserv/logouthandler.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp index 199e94da..c6ea1074 100644 --- a/src/net/ea/network.cpp +++ b/src/net/ea/network.cpp @@ -419,7 +419,7 @@ void Network::receive() SDLNet_FreeSocketSet(set); } -void Network::setError(const std::string& error) +void Network::setError(const std::string &error) { logger->log("Network error: %s", error.c_str()); mError = error; diff --git a/src/net/ea/network.h b/src/net/ea/network.h index 02fe7538..039006f8 100644 --- a/src/net/ea/network.h +++ b/src/net/ea/network.h @@ -60,7 +60,7 @@ class Network int getState() const { return mState; } - const std::string& getError() const { return mError; } + const std::string &getError() const { return mError; } bool isConnected() const { return mState == CONNECTED; } @@ -86,7 +86,7 @@ class Network }; protected: - void setError(const std::string& error); + void setError(const std::string &error); Uint16 readWord(int pos); diff --git a/src/net/tmwserv/logouthandler.cpp b/src/net/tmwserv/logouthandler.cpp index a7a1eb2e..81c21e4b 100644 --- a/src/net/tmwserv/logouthandler.cpp +++ b/src/net/tmwserv/logouthandler.cpp @@ -198,7 +198,7 @@ void LogoutHandler::handleMessage(MessageIn &msg) } void -LogoutHandler::setScenario(unsigned short scenario, std::string* passToken) +LogoutHandler::setScenario(unsigned short scenario, std::string *passToken) { mScenario = scenario; mPassToken = passToken; |