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

@@ -17,7 +17,6 @@
#include "InstanceScript.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "magtheridons_lair.h"
DoorData const doorData[] =

View File

@@ -31,7 +31,6 @@ EndContentData */
#include "Cell.h"
#include "CellImpl.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
@@ -40,6 +39,12 @@ EndContentData */
#include "SpellInfo.h"
#include "SpellScript.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"
// Ours
enum deathsdoorfell
{

View File

@@ -44,7 +44,6 @@ EndContentData */
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "WorldSession.h"
// Ours
class spell_q10612_10613_the_fel_and_the_furious : public SpellScriptLoader

View File

@@ -36,7 +36,6 @@ EndContentData */
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "WorldSession.h"
/*######
## npc_raliq_the_drunk

View File

@@ -40,7 +40,6 @@ EndContentData */
#include "ScriptedGossip.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "WorldSession.h"
// Ours
enum fumping

View File

@@ -36,7 +36,6 @@ EndContentData */
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "WorldSession.h"
// Ours
enum eNaturalist