From 94a66ead9d1d5c8f8f15184dee3702bc8218981f Mon Sep 17 00:00:00 2001 From: Flugente Date: Wed, 13 Sep 2017 20:05:54 +0000 Subject: [PATCH] - 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 --- MPConnectScreen.cpp | 1 + Standard Gaming Platform/vobject.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MPConnectScreen.cpp b/MPConnectScreen.cpp index dd5b772c..ec01ecce 100644 --- a/MPConnectScreen.cpp +++ b/MPConnectScreen.cpp @@ -521,6 +521,7 @@ void CheckForContinue() #include #include #include +#include void ja2::mp::InitializeMultiplayerProfile(vfs::Path const& profileRoot) { diff --git a/Standard Gaming Platform/vobject.cpp b/Standard Gaming Platform/vobject.cpp index ec54a30d..70f92929 100644 --- a/Standard Gaming Platform/vobject.cpp +++ b/Standard Gaming Platform/vobject.cpp @@ -18,7 +18,7 @@ #include "sgp.h" #endif -#include +#include // ****************************************************************************** // @@ -79,7 +79,7 @@ typedef struct VOBJECT_NODE #endif } VOBJECT_NODE, *VOBJECT_NODE_PTR; -typedef stdext::hash_map VOBJECT_MAP; +typedef std::unordered_map VOBJECT_MAP; static VOBJECT_MAP gpVObjectMap; #else