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

This commit is contained in:
Francesco Borzì
2022-01-22 11:21:35 +01:00
committed by GitHub
parent 8c184e06f9
commit abc56842c4
27 changed files with 0 additions and 35 deletions

View File

@@ -24,7 +24,6 @@
#include "WorldModel.h" #include "WorldModel.h"
#include <G3D/Vector3.h> #include <G3D/Vector3.h>
#include <iomanip> #include <iomanip>
#include <iostream>
#include <sstream> #include <sstream>
#include <string> #include <string>

View File

@@ -16,7 +16,6 @@
*/ */
#include "AuthCrypt.h" #include "AuthCrypt.h"
#include "BigNumber.h"
#include "Errors.h" #include "Errors.h"
#include "HMAC.h" #include "HMAC.h"

View File

@@ -18,7 +18,6 @@
#include "SRP6.h" #include "SRP6.h"
#include "CryptoRandom.h" #include "CryptoRandom.h"
#include "Util.h" #include "Util.h"
#include <algorithm>
#include <functional> #include <functional>
using SHA1 = Acore::Crypto::SHA1; using SHA1 = Acore::Crypto::SHA1;

View File

@@ -6,7 +6,6 @@
#include "Cryptography/BigNumber.h" #include "Cryptography/BigNumber.h"
#include "Errors.h" #include "Errors.h"
#include <algorithm> #include <algorithm>
#include <memory>
#include <openssl/bn.h> #include <openssl/bn.h>
BigNumber::BigNumber() BigNumber::BigNumber()

View File

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

View File

@@ -22,8 +22,6 @@
#include "Log.h" #include "Log.h"
#include "StringConvert.h" #include "StringConvert.h"
#include <fstream> #include <fstream>
#include <iostream>
IpLocationStore::IpLocationStore() IpLocationStore::IpLocationStore()
{ {
} }

View File

@@ -16,7 +16,6 @@
*/ */
#include "SFMTRand.h" #include "SFMTRand.h"
#include <algorithm>
#include <array> #include <array>
#include <ctime> #include <ctime>
#include <functional> #include <functional>

View File

@@ -26,7 +26,6 @@
#include <cctype> #include <cctype>
#include <cstdarg> #include <cstdarg>
#include <ctime> #include <ctime>
#include <iomanip>
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <utf8.h> #include <utf8.h>

View File

@@ -20,7 +20,6 @@
#include "DBUpdater.h" #include "DBUpdater.h"
#include "Field.h" #include "Field.h"
#include "Log.h" #include "Log.h"
#include "QueryResult.h"
#include "Tokenize.h" #include "Tokenize.h"
#include "Util.h" #include "Util.h"
#include <fstream> #include <fstream>

View File

@@ -22,7 +22,6 @@
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Util.h" #include "Util.h"
#include <functional> #include <functional>
#include <stdlib.h>
#include <vector> #include <vector>
struct EnchStoreItem struct EnchStoreItem

View File

@@ -21,7 +21,6 @@
#include "CellImpl.h" #include "CellImpl.h"
#include "Chat.h" #include "Chat.h"
#include "Creature.h" #include "Creature.h"
#include "DynamicTree.h"
#include "DynamicVisibility.h" #include "DynamicVisibility.h"
#include "GameObjectAI.h" #include "GameObjectAI.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"

View File

@@ -70,7 +70,6 @@
#include "Util.h" #include "Util.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "Weather.h" #include "Weather.h"
#include "WeatherMgr.h"
#include "World.h" #include "World.h"
#include "WorldPacket.h" #include "WorldPacket.h"
#include "Tokenize.h" #include "Tokenize.h"

View File

@@ -45,7 +45,6 @@
#include "UpdateMask.h" #include "UpdateMask.h"
#include "Util.h" #include "Util.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "WaypointMgr.h"
#include "World.h" #include "World.h"
#include "StringConvert.h" #include "StringConvert.h"
#include "Tokenize.h" #include "Tokenize.h"

View File

@@ -22,7 +22,6 @@
#include "CreatureAI.h" #include "CreatureAI.h"
#include "DynamicObject.h" #include "DynamicObject.h"
#include "GameObject.h" #include "GameObject.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Transport.h" #include "Transport.h"
#include "Vehicle.h" #include "Vehicle.h"

View File

@@ -15,7 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "Chat.h"
#include "Common.h" #include "Common.h"
#include "CreatureAI.h" #include "CreatureAI.h"
#include "DisableMgr.h" #include "DisableMgr.h"

View File

@@ -22,7 +22,6 @@
#include "WorldPacket.h" #include "WorldPacket.h"
#include "Tokenize.h" #include "Tokenize.h"
#include <iterator> #include <iterator>
#include <sstream>
namespace namespace
{ {

View File

@@ -30,7 +30,6 @@
#include "RandomMovementGenerator.h" #include "RandomMovementGenerator.h"
#include "TargetedMovementGenerator.h" #include "TargetedMovementGenerator.h"
#include "WaypointMovementGenerator.h" #include "WaypointMovementGenerator.h"
#include <cassert>
// ---- ChaseRange ---- // // ---- ChaseRange ---- //

View File

@@ -17,7 +17,6 @@
#include "WorldSocket.h" #include "WorldSocket.h"
#include "AccountMgr.h" #include "AccountMgr.h"
#include "BigNumber.h"
#include "Config.h" #include "Config.h"
#include "CryptoHash.h" #include "CryptoHash.h"
#include "CryptoRandom.h" #include "CryptoRandom.h"

View File

@@ -23,7 +23,6 @@
#include "CellImpl.h" #include "CellImpl.h"
#include "Common.h" #include "Common.h"
#include "ConditionMgr.h" #include "ConditionMgr.h"
#include "DatabaseEnv.h"
#include "DisableMgr.h" #include "DisableMgr.h"
#include "DynamicObject.h" #include "DynamicObject.h"
#include "GameObjectAI.h" #include "GameObjectAI.h"
@@ -33,8 +32,6 @@
#include "InstanceScript.h" #include "InstanceScript.h"
#include "Log.h" #include "Log.h"
#include "LootMgr.h" #include "LootMgr.h"
#include "MMapFactory.h"
#include "MMapMgr.h"
#include "MapMgr.h" #include "MapMgr.h"
#include "ObjectAccessor.h" #include "ObjectAccessor.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
@@ -57,7 +54,6 @@
#include "Vehicle.h" #include "Vehicle.h"
#include "World.h" #include "World.h"
#include "WorldPacket.h" #include "WorldPacket.h"
#include "WorldSession.h"
extern pEffect SpellEffects[TOTAL_SPELL_EFFECTS]; extern pEffect SpellEffects[TOTAL_SPELL_EFFECTS];

View File

@@ -25,7 +25,6 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "Util.h" #include "Util.h"
#include "World.h" #include "World.h"
#include "WorldPacket.h"
/// Create the Weather object /// Create the Weather object
Weather::Weather(uint32 zone, WeatherData const* weatherChances) Weather::Weather(uint32 zone, WeatherData const* weatherChances)

View File

@@ -18,11 +18,9 @@
#include "Common.h" #include "Common.h"
#include "CreatureGroups.h" #include "CreatureGroups.h"
#include "GameEventMgr.h" #include "GameEventMgr.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h" #include "ObjectAccessor.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
enum COG_Paths enum COG_Paths
{ {

View File

@@ -21,7 +21,6 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "WorldPacket.h"
#include "ruins_of_ahnqiraj.h" #include "ruins_of_ahnqiraj.h"
enum Texts enum Texts

View File

@@ -21,7 +21,6 @@
#include "OutdoorPvPMgr.h" #include "OutdoorPvPMgr.h"
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "World.h"
#include "WorldPacket.h" #include "WorldPacket.h"
OutdoorPvPGH::OutdoorPvPGH() OutdoorPvPGH::OutdoorPvPGH()

View File

@@ -24,7 +24,6 @@
#include "Errors.h" #include "Errors.h"
#include "Log.h" #include "Log.h"
#include "SharedDefines.h" #include "SharedDefines.h"
#include <functional>
#define SECRET_FLAG_FOR(key, val, server) server ## _ ## key = (val ## ull << (16*SERVER_PROCESS_ ## server)) #define SECRET_FLAG_FOR(key, val, server) server ## _ ## key = (val ## ull << (16*SERVER_PROCESS_ ## server))
#define SECRET_FLAG(key, val) SECRET_FLAG_ ## key = val, SECRET_FLAG_FOR(key, val, AUTHSERVER), SECRET_FLAG_FOR(key, val, WORLDSERVER) #define SECRET_FLAG(key, val) SECRET_FLAG_ ## key = val, SECRET_FLAG_FOR(key, val, AUTHSERVER), SECRET_FLAG_FOR(key, val, WORLDSERVER)

View File

@@ -30,7 +30,6 @@
#include "CliRunnable.h" #include "CliRunnable.h"
#include "Common.h" #include "Common.h"
#include "Config.h" #include "Config.h"
#include "Configuration/Config.h"
#include "DatabaseEnv.h" #include "DatabaseEnv.h"
#include "DatabaseLoader.h" #include "DatabaseLoader.h"
#include "DeadlineTimer.h" #include "DeadlineTimer.h"
@@ -40,7 +39,6 @@
#include "Metric.h" #include "Metric.h"
#include "ModulesScriptLoader.h" #include "ModulesScriptLoader.h"
#include "MySQLThreading.h" #include "MySQLThreading.h"
#include "ObjectAccessor.h"
#include "OpenSSLCrypto.h" #include "OpenSSLCrypto.h"
#include "OutdoorPvPMgr.h" #include "OutdoorPvPMgr.h"
#include "ProcessPriority.h" #include "ProcessPriority.h"
@@ -55,10 +53,8 @@
#include "WorldSocket.h" #include "WorldSocket.h"
#include "WorldSocketMgr.h" #include "WorldSocketMgr.h"
#include <boost/asio/signal_set.hpp> #include <boost/asio/signal_set.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/program_options.hpp> #include <boost/program_options.hpp>
#include <csignal> #include <csignal>
#include <iostream>
#include <openssl/crypto.h> #include <openssl/crypto.h>
#include <openssl/opensslv.h> #include <openssl/opensslv.h>

View File

@@ -27,7 +27,6 @@
#include "World.h" #include "World.h"
#include <boost/asio/buffer.hpp> #include <boost/asio/buffer.hpp>
#include <boost/asio/read_until.hpp> #include <boost/asio/read_until.hpp>
#include <memory>
#include <thread> #include <thread>
using boost::asio::ip::tcp; using boost::asio::ip::tcp;

View File

@@ -21,7 +21,6 @@
#include "vmapexport.h" #include "vmapexport.h"
#include "wmo.h" #include "wmo.h"
#include <G3D/Quat.h> #include <G3D/Quat.h>
#include <algorithm>
#include <cassert> #include <cassert>
#include <cstdio> #include <cstdio>
#include <limits> #include <limits>