refactor(src/common|server): remove unused import (big part 1) (#20377)

* refactor(src/common|server): remove unused import (big part 1)

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: attempt to fix damn linkin error
This commit is contained in:
Francesco Borzì
2024-10-31 21:46:11 +01:00
committed by GitHub
parent 598f78730c
commit c06cadfe75
27 changed files with 16 additions and 21 deletions

View File

@@ -17,7 +17,6 @@
#include "DBCFileLoader.h"
#include "Errors.h"
#include <stdio.h>
#include <string.h>
DBCFileLoader::DBCFileLoader() : recordSize(0), recordCount(0), fieldCount(0), stringSize(0), fieldsOffset(nullptr), data(nullptr), stringTable(nullptr) { }

View File

@@ -25,7 +25,6 @@
#include "Dynamic/TypeList.h"
#include "GridRefMgr.h"
#include <map>
#include <unordered_map>
/*

View File

@@ -19,6 +19,7 @@
#include "Define.h"
#include "SmartEnum.h"
#include <stdexcept>
#include <vector>
namespace Acore::Impl::EnumUtilsImpl
{

View File

@@ -19,7 +19,6 @@
#define MPSCQueue_h__
#include <atomic>
#include <memory>
namespace Acore::Impl
{

View File

@@ -23,7 +23,7 @@
*/
#include "Define.h"
#include <algorithm>
#include <vector>
namespace ByteConverter
{

View File

@@ -18,7 +18,7 @@
#ifndef IteratorPair_h__
#define IteratorPair_h__
#include <utility>
#include <vector>
namespace Acore
{

View File

@@ -17,8 +17,8 @@
#include "SFMTRand.h"
#include "Timer.h"
#include <algorithm>
#include <array>
#include <functional>
#include <random>
#if defined(__aarch64__)

View File

@@ -19,7 +19,6 @@
#define AC_SMARTENUM_H
#include "IteratorPair.h"
#include <iterator>
struct EnumText
{

View File

@@ -23,6 +23,7 @@
#include "Log.h"
#include "StartProcess.h"
#include "UpdateFetcher.h"
#include "QueryResult.h"
#include <filesystem>
#include <fstream>
#include <iostream>

View File

@@ -19,7 +19,6 @@
#include "AllScriptsObjects.h"
#include "InstanceScript.h"
#include "LFGScripts.h"
#include "ScriptObject.h"
#include "ScriptSystem.h"
#include "SmartAI.h"
#include "SpellMgr.h"

View File

@@ -19,7 +19,6 @@
#include "BattlegroundIC.h"
#include "BattlegroundMgr.h"
#include "BattlegroundSA.h"
#include "BattlegroundWS.h"
#include "CellImpl.h"
#include "Chat.h"
#include "Common.h"

View File

@@ -28,7 +28,6 @@
#include "Channel.h"
#include "Chat.h"
#include "CommandScript.h"
#include "GossipDef.h"
#include "GridNotifiersImpl.h"
#include "LFGMgr.h"
#include "Language.h"

View File

@@ -20,7 +20,6 @@
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "temple_of_ahnqiraj.h"
enum Spells
{

View File

@@ -22,6 +22,7 @@
#include "SpellAuraEffects.h"
#include "SpellScriptLoader.h"
#include "icecrown_citadel.h"
#include "PassiveAI.h"
enum Texts
{

View File

@@ -22,6 +22,7 @@
#include "SpellAuras.h"
#include "SpellScriptLoader.h"
#include "icecrown_citadel.h"
#include "SpellAuraEffects.h"
#include "SpellMgr.h"
enum ScriptTexts

View File

@@ -28,6 +28,8 @@
#include "TransportMgr.h"
#include "Vehicle.h"
#include "icecrown_citadel.h"
#include "PassiveAI.h"
#include "SpellAuraEffects.h"
enum Texts
{

View File

@@ -25,6 +25,8 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "icecrown_citadel.h"
#include "PassiveAI.h"
#include "SpellAuraEffects.h"
enum Texts
{

View File

@@ -32,6 +32,7 @@
#include "Vehicle.h"
#include "Weather.h"
#include "icecrown_citadel.h"
#include "PassiveAI.h"
enum Texts
{

View File

@@ -26,6 +26,7 @@
#include "SpellAuraEffects.h"
#include "SpellScriptLoader.h"
#include "icecrown_citadel.h"
#include "PassiveAI.h"
enum Texts
{

View File

@@ -21,14 +21,9 @@
#include "Chat.h"
#include "Creature.h"
#include "CreatureScript.h"
#include "InstanceScript.h"
#include "Map.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#define DataHeader "IC"

View File

@@ -21,7 +21,6 @@
#include "MapMgr.h"
#include "ObjectMgr.h"
#include "OutdoorPvP.h"
#include "OutdoorPvPMgr.h"
#include "OutdoorPvPScript.h"
#include "Player.h"
#include "World.h"

View File

@@ -33,7 +33,6 @@
#include "ScriptedGossip.h"
#include "SpellAuraEffects.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "TemporarySummon.h"

View File

@@ -21,7 +21,6 @@
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "TaskScheduler.h"
/*
##################################################

View File

@@ -17,7 +17,6 @@
#include "AccountScript.h"
#include "Channel.h"
#include "CreatureScript.h"
#include "Group.h"
#include "Guild.h"
#include "PlayerScript.h"

View File

@@ -18,6 +18,7 @@
#include "Realm.h"
#include "IpNetwork.h"
#include <boost/asio/ip/tcp.hpp>
#include <memory>
boost::asio::ip::tcp_endpoint Realm::GetAddressForClient(boost::asio::ip::address const& clientAddr) const
{

View File

@@ -18,12 +18,12 @@
#include "RealmList.h"
#include "DatabaseEnv.h"
#include "DeadlineTimer.h"
#include "IoContext.h"
#include "Log.h"
#include "Resolver.h"
#include "QueryResult.h"
#include "Util.h"
#include <boost/asio/ip/tcp.hpp>
#include <memory>
RealmList::RealmList() : _updateInterval(0) { }

View File

@@ -19,6 +19,7 @@
#include "Define.h"
#include "SmartEnum.h"
#include <stdexcept>
#include <vector>
namespace Acore::Impl::EnumUtilsImpl
{