mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- 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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user