From 537ed4ce534153be034d79eccd84fd121cfce329 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sat, 6 Aug 2016 02:56:06 +0000 Subject: [PATCH] make this string a static const... we basically just keep using it so why not? --- .../application/LoginServer/src/shared/ClientConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/application/LoginServer/src/shared/ClientConnection.cpp b/engine/server/application/LoginServer/src/shared/ClientConnection.cpp index 5f16da2c..4c2541fe 100755 --- a/engine/server/application/LoginServer/src/shared/ClientConnection.cpp +++ b/engine/server/application/LoginServer/src/shared/ClientConnection.cpp @@ -174,7 +174,7 @@ void ClientConnection::validateClient(const std::string & id, const std::string { bool authOK = false; StationId suid = atoi(id.c_str()); - std::string authURL(ConfigLoginServer::getExternalAuthUrl()); + static const std::string authURL(ConfigLoginServer::getExternalAuthUrl()); std::string uname; if (!authURL.empty())