mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-01 01:16:03 -04:00
Removed references to tr1 now that c++11 works
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
// ======================================================================
|
||||
|
||||
#include <tr1/unordered_map>
|
||||
#include <unordered_map>
|
||||
#include "serverDatabase/TableBuffer.h"
|
||||
|
||||
// ======================================================================
|
||||
@@ -37,7 +37,7 @@ class IndexedNetworkTableBuffer : public TableBuffer
|
||||
IndexedNetworkTableBuffer(TableBufferMode mode, DB::ModeQuery *query);
|
||||
|
||||
private:
|
||||
typedef std::tr1::unordered_map<int, DB::Row*> IndexType;
|
||||
typedef std::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 <tr1/unordered_map>
|
||||
#include <unordered_map>
|
||||
#include <string>
|
||||
|
||||
// ======================================================================
|
||||
@@ -47,10 +47,10 @@ private:
|
||||
void addRowToIndex (const NetworkId &itemId, DBSchema::MarketAuctionsRow *row);
|
||||
|
||||
private:
|
||||
typedef std::tr1::unordered_map<NetworkId, DBSchema::MarketAuctionsRow*> IndexType;
|
||||
typedef std::unordered_map<NetworkId, DBSchema::MarketAuctionsRow*> IndexType;
|
||||
IndexType m_rows;
|
||||
|
||||
typedef std::tr1::unordered_map<NetworkId, std::vector<std::pair<std::string, Unicode::String> > > AttributesType;
|
||||
typedef std::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::tr1::unordered_map<NetworkId, DBSchema::MarketAuctionsRowDelete*> IndexType;
|
||||
typedef std::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::tr1::unordered_map<NetworkId, DBSchema::MarketAuctionsRowUpdate*> IndexType;
|
||||
typedef std::unordered_map<NetworkId, DBSchema::MarketAuctionsRowUpdate*> IndexType;
|
||||
IndexType m_rows;
|
||||
|
||||
private:
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "SwgDatabaseServer/TaskSaveObjvarNames.h"
|
||||
#include "sharedFoundation/ExitChain.h"
|
||||
#include <tr1/unordered_map>
|
||||
#include <unordered_map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user