mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-14 00:01:30 -04:00
Removed references to tr1 now that c++11 works
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#ifndef _INCLUDED_ScriptFuncTable_H
|
||||
#define _INCLUDED_ScriptFuncTable_H
|
||||
|
||||
#include <tr1/unordered_map>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace Scripting
|
||||
{
|
||||
@@ -495,7 +495,7 @@ struct ScriptFuncTable
|
||||
const char *argList;
|
||||
};
|
||||
|
||||
typedef std::tr1::unordered_map< int, const ScriptFuncTable * > _ScriptFuncHashMap;
|
||||
typedef std::unordered_map< int, const ScriptFuncTable * > _ScriptFuncHashMap;
|
||||
extern _ScriptFuncHashMap *ScriptFuncHashMap;
|
||||
extern void InitScriptFuncHashMap(void);
|
||||
extern void RemoveScriptFuncHashMap(void);
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "serverUtility/FreeCtsDataTable.h"
|
||||
#include "UnicodeUtils.h"
|
||||
|
||||
#include <tr1/unordered_set>
|
||||
#include <unordered_set>
|
||||
|
||||
using namespace JNIWrappersNamespace;
|
||||
|
||||
@@ -434,7 +434,7 @@ jboolean JNICALL ScriptMethodsPlayerAccountNamespace::isAccountQualifiedForHouse
|
||||
UNREF(self);
|
||||
NOT_NULL(env);
|
||||
|
||||
static std::tr1::unordered_set<StationId> accountsQualifiedForHousePackup;
|
||||
static std::unordered_set<StationId> accountsQualifiedForHousePackup;
|
||||
if (accountsQualifiedForHousePackup.empty())
|
||||
{
|
||||
DataTable * table = DataTableManager::getTable(ConfigServerGame::getHousePackupAccountListDataTableName(), true);
|
||||
|
||||
Reference in New Issue
Block a user