refactor(src/common|server): remove unused import (big part 2) (#20388)

This commit is contained in:
Francesco Borzì
2024-11-01 08:42:31 +01:00
committed by GitHub
parent 55fe00120f
commit 4dcaee1816
10 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
#define APPENDERFILE_H #define APPENDERFILE_H
#include "Appender.h" #include "Appender.h"
#include <atomic> #include <atomic> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
#include <vector> #include <vector>
class AppenderFile : public Appender class AppenderFile : public Appender
+1 -1
View File
@@ -22,7 +22,7 @@
#include "Duration.h" #include "Duration.h"
#include "MPSCQueue.h" #include "MPSCQueue.h"
#include <functional> #include <functional>
#include <memory> #include <memory> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>
+1 -1
View File
@@ -18,7 +18,7 @@
#ifndef IteratorPair_h__ #ifndef IteratorPair_h__
#define IteratorPair_h__ #define IteratorPair_h__
#include <vector> #include <vector> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
namespace Acore namespace Acore
{ {
@@ -19,7 +19,6 @@
#define ACORE_GRIDNOTIFIERSIMPL_H #define ACORE_GRIDNOTIFIERSIMPL_H
#include "Corpse.h" #include "Corpse.h"
#include "CreatureAI.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"
#include "Object.h" #include "Object.h"
#include "Player.h" #include "Player.h"
-1
View File
@@ -21,7 +21,6 @@
#include "ObjectGuid.h" #include "ObjectGuid.h"
#include <map> #include <map>
#include <set> #include <set>
#include <string>
enum DumpTableType enum DumpTableType
{ {
-1
View File
@@ -21,7 +21,6 @@
#include "ARC4.h" #include "ARC4.h"
#include "AuthDefines.h" #include "AuthDefines.h"
#include "ByteBuffer.h" #include "ByteBuffer.h"
#include "WardenCheckMgr.h"
#include "WardenPayloadMgr.h" #include "WardenPayloadMgr.h"
#include <array> #include <array>
@@ -16,7 +16,7 @@
*/ */
#include "Cell.h" #include "Cell.h"
#include "CellImpl.h" #include "CellImpl.h" // NOTE: this import is NEEDED (even though some IDEs report it as unused)
#include "CreatureScript.h" #include "CreatureScript.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"
#include "GridNotifiersImpl.h" #include "GridNotifiersImpl.h"
+1 -1
View File
@@ -18,7 +18,7 @@
#include "Realm.h" #include "Realm.h"
#include "IpNetwork.h" #include "IpNetwork.h"
#include <boost/asio/ip/tcp.hpp> #include <boost/asio/ip/tcp.hpp>
#include <memory> #include <memory> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
boost::asio::ip::tcp_endpoint Realm::GetAddressForClient(boost::asio::ip::address const& clientAddr) const boost::asio::ip::tcp_endpoint Realm::GetAddressForClient(boost::asio::ip::address const& clientAddr) const
{ {
+1 -1
View File
@@ -20,7 +20,7 @@
#include "AsioHacksFwd.h" #include "AsioHacksFwd.h"
#include "Common.h" #include "Common.h"
#include <memory> #include <memory> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
enum RealmFlags enum RealmFlags
{ {
+1 -1
View File
@@ -22,7 +22,7 @@
#include "Realm.h" #include "Realm.h"
#include <array> #include <array>
#include <map> #include <map>
#include <memory> #include <memory> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
#include <vector> #include <vector>
struct RealmBuildInfo struct RealmBuildInfo