aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubv <s.v.h21@hotmail.com>2012-03-02 17:14:14 -0500
committerSubv <s.v.h21@hotmail.com>2012-03-02 17:14:14 -0500
commitb0985b4d5f98186a28b82fb9d92380de1fadafd1 (patch)
tree085055327dc10cceedcc639b084a53e546a626f7 /src
parente1b544d129190b921afc5f394379f5df906a7172 (diff)
Core/Misc: Remove redundant implicit template types in some std::make_pair calls. Should allow the build in Visual Studio 2011
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/AI/CoreAI/PetAI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/CoreAI/PetAI.cpp b/src/server/game/AI/CoreAI/PetAI.cpp
index 30ebd06745f..eedba4d8b7e 100755
--- a/src/server/game/AI/CoreAI/PetAI.cpp
+++ b/src/server/game/AI/CoreAI/PetAI.cpp
@@ -174,7 +174,7 @@ void PetAI::UpdateAI(const uint32 diff)
if (spell->CanAutoCast(target))
{
- targetSpellStore.push_back(std::make_pair<Unit*, Spell*>(target, spell));
+ targetSpellStore.push_back(std::make_pair(target, spell));
spellUsed = true;
break;
}
@@ -186,7 +186,7 @@ void PetAI::UpdateAI(const uint32 diff)
{
Spell* spell = new Spell(me, spellInfo, TRIGGERED_NONE, 0);
if (spell->CanAutoCast(me->getVictim()))
- targetSpellStore.push_back(std::make_pair<Unit*, Spell*>(me->getVictim(), spell));
+ targetSpellStore.push_back(std::make_pair(me->getVictim(), spell));
else
delete spell;
}