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

This commit is contained in:
Francesco Borzì
2023-08-28 13:39:43 +02:00
committed by GitHub
parent eaa6487fc2
commit 5d01b700fd
65 changed files with 30 additions and 83 deletions

View File

@@ -20,11 +20,16 @@
#include "Creature.h"
#include "DBCStores.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "ObjectAccessor.h"
#include "SpellMgr.h"
#include "Totem.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"
int32 TotemAI::Permissible(Creature const* creature)
{
if (creature->IsTotem())

View File

@@ -21,7 +21,6 @@
#include "Player.h"
#include "Spell.h"
#include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellInfo.h"
#include "SpellMgr.h"