aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Pools/PoolMgr.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-09-02 01:06:10 +0200
committerShauren <shauren.trinity@gmail.com>2017-09-02 01:06:10 +0200
commit52c7f12ed35f321dc97d8caea2b112287f5ac05b (patch)
treef53fe073757287a8d1535e0d4cf49cdd019e019e /src/server/game/Pools/PoolMgr.cpp
parentcbd1c0926728e4b4b7bf1554f07611f1b7da08b0 (diff)
Core: Fix Winstantiation-after-specialization warnings
Closes #20211
Diffstat (limited to 'src/server/game/Pools/PoolMgr.cpp')
-rw-r--r--src/server/game/Pools/PoolMgr.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/server/game/Pools/PoolMgr.cpp b/src/server/game/Pools/PoolMgr.cpp
index aa7edf99e9c..cce1f9be0a0 100644
--- a/src/server/game/Pools/PoolMgr.cpp
+++ b/src/server/game/Pools/PoolMgr.cpp
@@ -42,37 +42,32 @@ uint32 ActivePoolData::GetActiveObjectCount(uint32 pool_id) const
// Method that tell if a creature is spawned currently
template<>
-bool ActivePoolData::IsActiveObject<Creature>(uint64 db_guid) const
+TC_GAME_API bool ActivePoolData::IsActiveObject<Creature>(uint64 db_guid) const
{
return mSpawnedCreatures.find(db_guid) != mSpawnedCreatures.end();
}
// Method that tell if a gameobject is spawned currently
template<>
-bool ActivePoolData::IsActiveObject<GameObject>(uint64 db_guid) const
+TC_GAME_API bool ActivePoolData::IsActiveObject<GameObject>(uint64 db_guid) const
{
return mSpawnedGameobjects.find(db_guid) != mSpawnedGameobjects.end();
}
// Method that tell if a pool is spawned currently
template<>
-bool ActivePoolData::IsActiveObject<Pool>(uint64 sub_pool_id) const
+TC_GAME_API bool ActivePoolData::IsActiveObject<Pool>(uint64 sub_pool_id) const
{
return mSpawnedPools.find(sub_pool_id) != mSpawnedPools.end();
}
// Method that tell if a quest can be started
template<>
-bool ActivePoolData::IsActiveObject<Quest>(uint64 quest_id) const
+TC_GAME_API bool ActivePoolData::IsActiveObject<Quest>(uint64 quest_id) const
{
return mActiveQuests.find(quest_id) != mActiveQuests.end();
}
-template TC_GAME_API bool ActivePoolData::IsActiveObject<Creature>(uint64) const;
-template TC_GAME_API bool ActivePoolData::IsActiveObject<GameObject>(uint64) const;
-template TC_GAME_API bool ActivePoolData::IsActiveObject<Pool>(uint64) const;
-template TC_GAME_API bool ActivePoolData::IsActiveObject<Quest>(uint64) const;
-
template<>
void ActivePoolData::ActivateObject<Creature>(uint64 db_guid, uint32 pool_id)
{