mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/Misc: fix some clang 5 warnings
This commit is contained in:
@@ -60,11 +60,6 @@ bool ActivePoolData::IsActiveObject<Quest>(uint32 quest_id) const
|
||||
return mActiveQuests.find(quest_id) != mActiveQuests.end();
|
||||
}
|
||||
|
||||
template TC_GAME_API bool ActivePoolData::IsActiveObject<Creature>(uint32) const;
|
||||
template TC_GAME_API bool ActivePoolData::IsActiveObject<GameObject>(uint32) const;
|
||||
template TC_GAME_API bool ActivePoolData::IsActiveObject<Pool>(uint32) const;
|
||||
template TC_GAME_API bool ActivePoolData::IsActiveObject<Quest>(uint32) const;
|
||||
|
||||
template<>
|
||||
void ActivePoolData::ActivateObject<Creature>(uint32 db_guid, uint32 pool_id)
|
||||
{
|
||||
@@ -958,7 +953,6 @@ void PoolMgr::LoadFromDB()
|
||||
|
||||
void PoolMgr::LoadQuestPools()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void PoolMgr::SaveQuestsToDB()
|
||||
|
||||
@@ -241,7 +241,7 @@ extern int main(int argc, char** argv)
|
||||
if (networkThreads <= 0)
|
||||
{
|
||||
TC_LOG_ERROR("server.worldserver", "Network.Threads must be greater than 0");
|
||||
return false;
|
||||
return 1;
|
||||
}
|
||||
|
||||
sWorldSocketMgr.StartNetwork(_ioService, worldListener, worldPort, networkThreads);
|
||||
|
||||
Reference in New Issue
Block a user