mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
refactor(Core/Common): alphabetical sorting inlcudes (#6282)
- Part https://github.com/WarheadCore/WarheadBand/pull/37
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
#ifndef _DATA_MAP_H_
|
||||
#define _DATA_MAP_H_
|
||||
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <unordered_map>
|
||||
|
||||
class DataMap
|
||||
{
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
#define _ACORE_GEOMETRY_H
|
||||
|
||||
#include "Define.h"
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <math.h>
|
||||
|
||||
[[nodiscard]] inline float getAngle(float startX, float startY, float destX, float destY)
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
#ifndef _MATH_UTIL_H
|
||||
#define _MATH_UTIL_H
|
||||
|
||||
#include <vector>
|
||||
#include <iterator>
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <numeric>
|
||||
#include <vector>
|
||||
|
||||
// based on https://stackoverflow.com/questions/7616511/calculate-mean-and-standard-deviation-from-a-vector-of-samples-in-c-using-boos/12405793#comment32490316_12405793
|
||||
template <typename Container, typename T = typename std::decay<decltype(*std::begin(std::declval<Container>()))>::type>
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#define __MESSAGEBUFFER_H_
|
||||
|
||||
#include "Define.h"
|
||||
#include <vector>
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
|
||||
class MessageBuffer
|
||||
{
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
|
||||
#include "Geometry.h"
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
#include "SFMTRand.h"
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <ctime>
|
||||
#include <functional>
|
||||
#include <random>
|
||||
#include <ctime>
|
||||
|
||||
#if defined(__aarch64__)
|
||||
#if defined(__clang__)
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#define _SIGNAL_HANDLER_H_
|
||||
|
||||
#include <csignal>
|
||||
#include <unordered_set>
|
||||
#include <mutex>
|
||||
#include <unordered_set>
|
||||
|
||||
namespace Acore
|
||||
{
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
#ifndef _TASK_SCHEDULER_H_
|
||||
#define _TASK_SCHEDULER_H_
|
||||
|
||||
#include <optional>
|
||||
#include "Util.h"
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
#include <queue>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <queue>
|
||||
#include <set>
|
||||
#include <utility>
|
||||
#include "Util.h"
|
||||
#include <vector>
|
||||
|
||||
class TaskContext;
|
||||
|
||||
|
||||
@@ -7,18 +7,18 @@
|
||||
#include "Util.h"
|
||||
#include "Common.h"
|
||||
#include "Containers.h"
|
||||
// #include "IpAddress.h"
|
||||
#include "StringConvert.h"
|
||||
#include "StringFormat.h"
|
||||
#include <utf8.h>
|
||||
#include <ace/Default_Constants.h>
|
||||
#include <algorithm>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <cctype>
|
||||
#include <cstdarg>
|
||||
#include <ctime>
|
||||
#include <ace/Default_Constants.h>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <utf8.h>
|
||||
// #include "IpAddress.h"
|
||||
|
||||
Tokenizer::Tokenizer(const std::string& src, const char sep, uint32 vectorReserve)
|
||||
{
|
||||
|
||||
@@ -7,17 +7,17 @@
|
||||
#ifndef _UTIL_H
|
||||
#define _UTIL_H
|
||||
|
||||
#include "Containers.h"
|
||||
#include "Define.h"
|
||||
#include "Errors.h"
|
||||
#include "Containers.h"
|
||||
#include <ace/INET_Addr.h>
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cctype>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <ace/INET_Addr.h>
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// Searcher for map of structs
|
||||
template<typename T, class S> struct Finder
|
||||
|
||||
Reference in New Issue
Block a user