mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-22 07:13:03 -04:00
Removed STLport requirement
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#include "sharedNetworkMessages/GenericValueTypeMessage.h"
|
||||
#include "sharedNetworkMessages/LoginEnumCluster.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
ClientConnection::ClientConnection(UdpConnectionMT * u, TcpClient * t) :
|
||||
@@ -194,7 +196,7 @@ void ClientConnection::validateClient(const std::string & id, const std::string
|
||||
|
||||
if (suid==0)
|
||||
{
|
||||
std::hash<std::string> h;
|
||||
std::tr1::hash<std::string> h;
|
||||
suid = h(id); //lint !e603 // Symbol 'h' not initialized (it's a functor)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user