refactor(Core/Misc): headers cleanup (#9259)

This commit is contained in:
Kargatum
2021-11-22 17:24:39 +07:00
committed by GitHub
parent 699d4835df
commit f62664c987
775 changed files with 1294 additions and 1165 deletions

View File

@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "DatabaseEnv.h"
#include "DBCDatabaseLoader.h"
#include "DatabaseEnv.h"
#include "Errors.h"
#include "StringFormat.h"

View File

@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "DBCDatabaseLoader.h"
#include "DBCStore.h"
#include "DBCDatabaseLoader.h"
DBCStorageBase::DBCStorageBase(char const* fmt) : _fieldCount(0), _fileFormat(fmt), _dataTable(nullptr), _indexTableSize(0)
{

View File

@@ -18,12 +18,12 @@
#ifndef ACORE_DBCSTRUCTURE_H
#define ACORE_DBCSTRUCTURE_H
#include "Define.h"
#include "DBCEnums.h"
#include "Define.h"
#include "SharedDefines.h"
#include "Util.h"
#include <set>
#include <map>
#include <set>
#include <unordered_map>
// Structures using to access raw DBC data and required packing to portability

View File

@@ -21,9 +21,9 @@
#include "IoContext.h"
#include "IpAddress.h"
#include "Log.h"
#include <atomic>
#include <boost/asio/ip/tcp.hpp>
#include <functional>
#include <atomic>
using boost::asio::ip::tcp;

View File

@@ -18,14 +18,14 @@
#ifndef NetworkThread_h__
#define NetworkThread_h__
#include "Define.h"
#include "DeadlineTimer.h"
#include "Define.h"
#include "Errors.h"
#include "IoContext.h"
#include "Log.h"
#include "Timer.h"
#include <boost/asio/ip/tcp.hpp>
#include <atomic>
#include <boost/asio/ip/tcp.hpp>
#include <chrono>
#include <memory>
#include <mutex>

View File

@@ -18,14 +18,14 @@
#ifndef __SOCKET_H__
#define __SOCKET_H__
#include "MessageBuffer.h"
#include "Log.h"
#include "MessageBuffer.h"
#include <atomic>
#include <queue>
#include <memory>
#include <functional>
#include <type_traits>
#include <boost/asio/ip/tcp.hpp>
#include <functional>
#include <memory>
#include <queue>
#include <type_traits>
using boost::asio::ip::tcp;

View File

@@ -17,12 +17,12 @@
#include "ByteBuffer.h"
#include "Errors.h"
#include "MessageBuffer.h"
#include "Log.h"
#include "MessageBuffer.h"
#include "Util.h"
#include <utf8.h>
#include <sstream>
#include <ctime>
#include <sstream>
#include <utf8.h>
ByteBuffer::ByteBuffer(MessageBuffer&& buffer) :
_rpos(0), _wpos(0), _storage(buffer.Move()) { }

View File

@@ -18,12 +18,12 @@
#ifndef _BYTEBUFFER_H
#define _BYTEBUFFER_H
#include "Define.h"
#include "ByteConverter.h"
#include "Define.h"
#include <array>
#include <cstring>
#include <string>
#include <vector>
#include <cstring>
class MessageBuffer;

View File

@@ -20,8 +20,8 @@
#include "BigNumber.h"
#include "Common.h"
#include "Optional.h"
#include "Log.h"
#include "Optional.h"
#include <array>
#include <mutex>
#include <string>

View File

@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "SharedDefines.h"
#include "Define.h"
#include "SharedDefines.h"
#include "SmartEnum.h"
#include <stdexcept>