Removed STLport requirement

This commit is contained in:
Anonymous
2014-01-23 00:16:13 -07:00
parent a9ac73d4e5
commit fac1f2c5ae
173 changed files with 454 additions and 479 deletions
@@ -11,7 +11,7 @@
// ======================================================================
#include <hash_map>
#include <tr1/unordered_map>
#include "serverDatabase/TableBuffer.h"
// ======================================================================
@@ -37,7 +37,7 @@ class IndexedNetworkTableBuffer : public TableBuffer
IndexedNetworkTableBuffer(TableBufferMode mode, DB::ModeQuery *query);
private:
typedef std::hash_map<int, DB::Row*> IndexType;
typedef std::tr1::unordered_map<int, DB::Row*> IndexType;
/**
* Index to locate rows.
*
@@ -13,7 +13,7 @@
#include "SwgDatabaseServer/CommoditiesQuery.h"
#include "SwgDatabaseServer/CommoditiesSchema.h"
#include "serverDatabase/AbstractTableBuffer.h"
#include <hash_map>
#include <tr1/unordered_map>
#include <string>
// ======================================================================
@@ -47,10 +47,10 @@ private:
void addRowToIndex (const NetworkId &itemId, DBSchema::MarketAuctionsRow *row);
private:
typedef std::hash_map<NetworkId, DBSchema::MarketAuctionsRow*> IndexType;
typedef std::tr1::unordered_map<NetworkId, DBSchema::MarketAuctionsRow*> IndexType;
IndexType m_rows;
typedef std::hash_map<NetworkId, std::vector<std::pair<std::string, Unicode::String> > > AttributesType;
typedef std::tr1::unordered_map<NetworkId, std::vector<std::pair<std::string, Unicode::String> > > AttributesType;
AttributesType m_attributes;
private:
@@ -79,7 +79,7 @@ private:
void addRowToIndex (const NetworkId &itemId, DBSchema::MarketAuctionsRowDelete *row);
private:
typedef std::hash_map<NetworkId, DBSchema::MarketAuctionsRowDelete*> IndexType;
typedef std::tr1::unordered_map<NetworkId, DBSchema::MarketAuctionsRowDelete*> IndexType;
IndexType m_rows;
private:
@@ -108,7 +108,7 @@ private:
void addRowToIndex (const NetworkId &itemId, DBSchema::MarketAuctionsRowUpdate *row);
private:
typedef std::hash_map<NetworkId, DBSchema::MarketAuctionsRowUpdate*> IndexType;
typedef std::tr1::unordered_map<NetworkId, DBSchema::MarketAuctionsRowUpdate*> IndexType;
IndexType m_rows;
private:
@@ -10,7 +10,7 @@
#include "SwgDatabaseServer/TaskSaveObjvarNames.h"
#include "sharedFoundation/ExitChain.h"
#include <hash_map>
#include <tr1/unordered_map>
#include <string>
#include <vector>
@@ -34,10 +34,10 @@ class ObjvarNameManager
DB::TaskRequest *saveNewNames();
private:
typedef stdhash_map<std::string, int>::fwd NameToIdMapType;
typedef stdunordered_map<std::string, int>::fwd NameToIdMapType;
NameToIdMapType *m_nameToIdMap;
typedef stdhash_map<int, std::string>::fwd IdToNameMapType;
typedef stdunordered_map<int, std::string>::fwd IdToNameMapType;
IdToNameMapType *m_idToNameMap;
typedef stdvector<std::pair<int, std::string> >::fwd NewNamesType;