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
79 changed files with 76 additions and 103 deletions

View File

@@ -28,7 +28,6 @@
#include "BattlegroundMgr.h"
#include "CellImpl.h"
#include "Channel.h"
#include "ChannelMgr.h"
#include "CharacterCache.h"
#include "CharacterDatabaseCleaner.h"
#include "Chat.h"
@@ -42,10 +41,8 @@
#include "GameEventMgr.h"
#include "GameGraveyard.h"
#include "GameObjectAI.h"
#include "GitRevision.h"
#include "GossipDef.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "Group.h"
#include "GroupMgr.h"
#include "Guild.h"
@@ -56,7 +53,6 @@
#include "LFGMgr.h"
#include "Log.h"
#include "LootItemStorage.h"
#include "MapInstanced.h"
#include "MapMgr.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
@@ -66,14 +62,12 @@
#include "Pet.h"
#include "PetitionMgr.h"
#include "Player.h"
#include "PoolMgr.h"
#include "QuestDef.h"
#include "QueryHolder.h"
#include "ReputationMgr.h"
#include "Realm.h"
#include "SavingSystem.h"
#include "ScriptMgr.h"
#include "SkillDiscovery.h"
#include "SocialMgr.h"
#include "Spell.h"
#include "SpellAuraEffects.h"
@@ -92,6 +86,12 @@
#include "WorldPacket.h"
#include "WorldSession.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 CharacterFlags
{
CHARACTER_FLAG_NONE = 0x00000000,