make this string a static const... we basically just keep using it so why not?

This commit is contained in:
DarthArgus
2016-08-06 02:56:06 +00:00
parent 207449547f
commit 537ed4ce53
@@ -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())