diff --git a/src/framework/Utilities/UnorderedMapSet.h b/src/framework/Utilities/UnorderedMapSet.h index d3d8e2a4a..7e3a0752e 100644 --- a/src/framework/Utilities/UnorderedMapSet.h +++ b/src/framework/Utilities/UnorderedMapSet.h @@ -31,7 +31,7 @@ #elif COMPILER == COMPILER_GNU && __GNUC__ >= 3 # include # include -#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1500 && _HAS_TR1 // VC9.0 SP1 and later +#elif COMPILER == COMPILER_MICROSOFT && (_MSC_VER > 1500 || _MSC_VER == 1500 && _HAS_TR1) // VC9.0 SP1 and later # include # include #else @@ -47,8 +47,8 @@ using std::hash_map; using std::hash_set; #elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1600 // VS100 -# define UNORDERED_MAP std::tr1::unordered_map -# define UNORDERED_SET std::tr1::unordered_set +# define UNORDERED_MAP std::unordered_map +# define UNORDERED_SET std::unordered_set # define HASH_NAMESPACE_START namespace std { # define HASH_NAMESPACE_END } #elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1500 && _HAS_TR1 diff --git a/src/game/PetAI.cpp b/src/game/PetAI.cpp index ddceb5762..8bf259597 100644 --- a/src/game/PetAI.cpp +++ b/src/game/PetAI.cpp @@ -244,7 +244,7 @@ void PetAI::UpdateAI(const uint32 diff) if (inCombat && !m_creature->hasUnitState(UNIT_STAT_FOLLOW) && spell->CanAutoCast(m_creature->getVictim())) { - targetSpellStore.push_back(std::make_pair(m_creature->getVictim(), spell)); + targetSpellStore.push_back(TargetSpellList::value_type(m_creature->getVictim(), spell)); continue; } else @@ -260,7 +260,7 @@ void PetAI::UpdateAI(const uint32 diff) if (spell->CanAutoCast(Target)) { - targetSpellStore.push_back(std::make_pair(Target, spell)); + targetSpellStore.push_back(TargetSpellList::value_type(Target, spell)); spellUsed = true; break; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index a2f8dd9d8..530051039 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11795" + #define REVISION_NR "11796" #endif // __REVISION_NR_H__ diff --git a/win/VC100/game.vcxproj b/win/VC100/game.vcxproj index be7d6ba9e..5a51f882e 100644 --- a/win/VC100/game.vcxproj +++ b/win/VC100/game.vcxproj @@ -98,27 +98,21 @@ .\game__$(Platform)_$(Configuration)\ .\game__$(Platform)_$(Configuration)\ game - .lib .\game__$(Platform)_$(Configuration)\ .\game__$(Platform)_$(Configuration)\ game - .lib .\game__$(Platform)_$(Configuration)\ .\game__$(Platform)_$(Configuration)\ game - .lib .\game__$(Platform)_$(Configuration)\ .\game__$(Platform)_$(Configuration)\ game - .lib .\game__$(Platform)_$(Configuration)\ .\game__$(Platform)_$(Configuration)\ game - .lib .\game__$(Platform)_$(Configuration)\ .\game__$(Platform)_$(Configuration)\ game - .lib AllRules.ruleset @@ -140,11 +134,10 @@ - /MP /Zm200 %(AdditionalOptions) + /Zm300 %(AdditionalOptions) Disabled ..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories) WIN32;_DEBUG;MANGOS_DEBUG;_LIB;%(PreprocessorDefinitions) - false false EnableFastChecks MultiThreadedDebugDLL @@ -160,8 +153,8 @@ true ProgramDatabase Cdecl - Default pchdef.h;%(ForcedIncludeFiles) + true _DEBUG;%(PreprocessorDefinitions) @@ -178,11 +171,10 @@ X64 - /MP /bigobj /Zm200 %(AdditionalOptions) + /bigobj /Zm300 %(AdditionalOptions) Disabled ..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories) WIN32;_DEBUG;MANGOS_DEBUG;_LIB;%(PreprocessorDefinitions) - false false EnableFastChecks MultiThreadedDebugDLL @@ -198,8 +190,8 @@ true ProgramDatabase Cdecl - Default pchdef.h;%(ForcedIncludeFiles) + true _DEBUG;%(PreprocessorDefinitions) @@ -213,7 +205,7 @@ - /MP /Zm200 %(AdditionalOptions) + /Zm300 %(AdditionalOptions) OnlyExplicitInline ..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) @@ -232,8 +224,8 @@ true ProgramDatabase Cdecl - Default pchdef.h;%(ForcedIncludeFiles) + true NDEBUG;%(PreprocessorDefinitions) @@ -250,7 +242,7 @@ X64 - /MP /bigobj /Zm200 %(AdditionalOptions) + /bigobj /Zm300 %(AdditionalOptions) OnlyExplicitInline ..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) @@ -269,8 +261,8 @@ true ProgramDatabase Cdecl - Default pchdef.h;%(ForcedIncludeFiles) + true NDEBUG;%(PreprocessorDefinitions) @@ -284,11 +276,9 @@ - /MP %(AdditionalOptions) Disabled ..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories) WIN32;_DEBUG;MANGOS_DEBUG;_LIB;%(PreprocessorDefinitions) - false false EnableFastChecks MultiThreadedDebugDLL @@ -304,7 +294,7 @@ true ProgramDatabase Cdecl - Default + true _DEBUG;%(PreprocessorDefinitions) @@ -321,11 +311,10 @@ X64 - /MP /bigobj %(AdditionalOptions) + /bigobj %(AdditionalOptions) Disabled ..\..\dep\include;..\..\src\framework;..\..\src\shared;..\..\src\game\vmap;..\..\dep\ACE_wrappers;..\..\dep\include\g3dlite;%(AdditionalIncludeDirectories) WIN32;_DEBUG;MANGOS_DEBUG;_LIB;%(PreprocessorDefinitions) - false false EnableFastChecks MultiThreadedDebugDLL @@ -341,7 +330,7 @@ true ProgramDatabase Cdecl - Default + true _DEBUG;%(PreprocessorDefinitions) diff --git a/win/VC100/genrevision.vcxproj b/win/VC100/genrevision.vcxproj index f07299888..4783cc417 100644 --- a/win/VC100/genrevision.vcxproj +++ b/win/VC100/genrevision.vcxproj @@ -1,4 +1,5 @@ - + + Debug_NoPCH @@ -137,7 +138,7 @@ Level3 - EditAndContinue + ProgramDatabase Cdecl @@ -227,7 +228,7 @@ Level3 - EditAndContinue + ProgramDatabase Cdecl diff --git a/win/VC100/zlib.vcxproj b/win/VC100/zlib.vcxproj index 1a75e75ed..a6f4f7ac1 100644 --- a/win/VC100/zlib.vcxproj +++ b/win/VC100/zlib.vcxproj @@ -1,4 +1,5 @@ - + + Debug_NoPCH