- Fix: replaced stdext::hash_map with std::unordered_map, as the former is deprecated

- Fix: missing header

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8472 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2017-09-13 20:05:54 +00:00
parent 2fe522db4b
commit 94a66ead9d
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -521,6 +521,7 @@ void CheckForContinue()
#include <vfs/Core/vfs_profile.h>
#include <vfs/Core/vfs.h>
#include <vfs/Core/vfs_init.h>
#include <memory>
void ja2::mp::InitializeMultiplayerProfile(vfs::Path const& profileRoot)
{
+2 -2
View File
@@ -18,7 +18,7 @@
#include "sgp.h"
#endif
#include <hash_map>
#include <unordered_map>
// ******************************************************************************
//
@@ -79,7 +79,7 @@ typedef struct VOBJECT_NODE
#endif
} VOBJECT_NODE, *VOBJECT_NODE_PTR;
typedef stdext::hash_map<UINT32, VOBJECT_NODE_PTR> VOBJECT_MAP;
typedef std::unordered_map<UINT32, VOBJECT_NODE_PTR> VOBJECT_MAP;
static VOBJECT_MAP gpVObjectMap;
#else