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

View File

@@ -19,7 +19,7 @@
#define APPENDERFILE_H
#include "Appender.h"
#include <atomic>
#include <atomic> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
#include <vector>
class AppenderFile : public Appender

View File

@@ -22,7 +22,7 @@
#include "Duration.h"
#include "MPSCQueue.h"
#include <functional>
#include <memory>
#include <memory> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
#include <string>
#include <unordered_map>
#include <vector>

View File

@@ -18,7 +18,7 @@
#ifndef IteratorPair_h__
#define IteratorPair_h__
#include <vector>
#include <vector> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
namespace Acore
{

View File

@@ -19,7 +19,6 @@
#define ACORE_GRIDNOTIFIERSIMPL_H
#include "Corpse.h"
#include "CreatureAI.h"
#include "GridNotifiers.h"
#include "Object.h"
#include "Player.h"

View File

@@ -21,7 +21,6 @@
#include "ObjectGuid.h"
#include <map>
#include <set>
#include <string>
enum DumpTableType
{

View File

@@ -21,7 +21,6 @@
#include "ARC4.h"
#include "AuthDefines.h"
#include "ByteBuffer.h"
#include "WardenCheckMgr.h"
#include "WardenPayloadMgr.h"
#include <array>

View File

@@ -16,7 +16,7 @@
*/
#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 "GridNotifiers.h"
#include "GridNotifiersImpl.h"

View File

@@ -18,7 +18,7 @@
#include "Realm.h"
#include "IpNetwork.h"
#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
{

View File

@@ -20,7 +20,7 @@
#include "AsioHacksFwd.h"
#include "Common.h"
#include <memory>
#include <memory> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
enum RealmFlags
{

View File

@@ -22,7 +22,7 @@
#include "Realm.h"
#include <array>
#include <map>
#include <memory>
#include <memory> // NOTE: this import is NEEDED (even though some IDEs report it as unused)
#include <vector>
struct RealmBuildInfo