Core/Misc: fix some clang 5 warnings

This commit is contained in:
ariel-
2017-05-27 16:33:54 -03:00
committed by Aokromes
parent e361682377
commit da65d89129
2 changed files with 1 additions and 7 deletions

View File

@@ -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()

View File

@@ -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);