Removed references to tr1 now that c++11 works

This commit is contained in:
Anonymous
2014-01-23 09:28:13 -07:00
parent e6431a9fd4
commit 210bdb91d8
56 changed files with 198 additions and 205 deletions
@@ -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);