mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-03 18:12:58 -04:00
Removed references to tr1 now that c++11 works
This commit is contained in:
@@ -196,7 +196,7 @@ void ClientConnection::validateClient(const std::string & id, const std::string
|
||||
|
||||
if (suid==0)
|
||||
{
|
||||
std::tr1::hash<std::string> h;
|
||||
std::hash<std::string> h;
|
||||
suid = h(id); //lint !e603 // Symbol 'h' not initialized (it's a functor)
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "sharedFoundation/StationId.h"
|
||||
#include "sharedMessageDispatch/Receiver.h"
|
||||
#include "sharedNetwork/Service.h"
|
||||
#include <tr1/unordered_map>
|
||||
#include <unordered_map>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
ClientConnection* getUnvalidatedClient (int clientId);
|
||||
void removeClient (int clientId);
|
||||
|
||||
const std::tr1::unordered_map<std::string, const CentralServerConnection *> & getCentralServerMap_hide() const;
|
||||
const std::unordered_map<std::string, const CentralServerConnection *> & getCentralServerMap_hide() const;
|
||||
|
||||
bool deleteCharacter (uint32 clusterId, NetworkId const & characterId, StationId suid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user