mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-29 23:15:56 -04:00
Removed references to tr1 now that c++11 works
This commit is contained in:
@@ -395,7 +395,7 @@ void ClientConnection::handleClientIdMessage(const ClientIdMsg& msg)
|
||||
m_suid = atoi(m_accountName.c_str());
|
||||
if (m_suid == 0)
|
||||
{
|
||||
std::tr1::hash<std::string> h;
|
||||
std::hash<std::string> h;
|
||||
m_suid = h(m_accountName.c_str());
|
||||
}
|
||||
onValidateClient(m_suid, m_accountName, m_isSecure, NULL, ConfigConnectionServer::getDefaultGameFeatures(), ConfigConnectionServer::getDefaultSubscriptionFeatures(), 0, 0, 0, 0, ConfigConnectionServer::getFakeBuddyPoints());
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
#include <tr1/unordered_map>
|
||||
#include <unordered_map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
@@ -40,9 +40,9 @@ class ConnectionServer : public MessageDispatch::Receiver
|
||||
|
||||
~ConnectionServer ();
|
||||
|
||||
typedef std::tr1::unordered_map<uint32, GameConnection *> GameServerMap;
|
||||
typedef std::tr1::unordered_map<NetworkId, Client *,NetworkId::Hash> ClientMap;
|
||||
typedef std::tr1::unordered_map<uint32, ClientConnection *> SuidMap;
|
||||
typedef std::unordered_map<uint32, GameConnection *> GameServerMap;
|
||||
typedef std::unordered_map<NetworkId, Client *,NetworkId::Hash> ClientMap;
|
||||
typedef std::unordered_map<uint32, ClientConnection *> SuidMap;
|
||||
typedef std::set<uint32> FreeTrialsSet;
|
||||
|
||||
static void addNewClient(ClientConnection* cconn, const NetworkId &oid, GameConnection* gconn, const std::string &sceneName, bool sendToStarport );
|
||||
|
||||
Reference in New Issue
Block a user