refactor(Core): remove unused imports (#9767)

This commit is contained in:
Francesco Borzì 2021-12-19 19:41:14 +01:00 committed by GitHub
parent d2d99bccc7
commit cbc7e5466a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 76 additions and 103 deletions

View file

@ -36,7 +36,6 @@ npc_locksmith 75% list of keys needs to be confirmed
npc_firework 100% NPC's summoned by rockets and rocket clusters, for making them cast visual
EndContentData */
#include "Cell.h"
#include "CellImpl.h"
#include "Chat.h"
#include "CombatAI.h"
@ -44,8 +43,6 @@ EndContentData */
#include "DBCStructure.h"
#include "GameEventMgr.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "Group.h"
#include "ObjectMgr.h"
#include "PassiveAI.h"
#include "Pet.h"
@ -58,6 +55,12 @@ EndContentData */
#include "WaypointMgr.h"
#include "World.h"
// TODO: this import is not necessary for compilation and marked as unused by the IDE
// however, for some reasons removing it would cause a damn linking issue
// there is probably some underlying problem with imports which should properly addressed
// see: https://github.com/azerothcore/azerothcore-wotlk/issues/9766
#include "GridNotifiersImpl.h"
enum elderClearwater
{
EVENT_CLEARWATER_ANNOUNCE = 1,