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

This commit is contained in:
Francesco Borzì
2021-12-19 19:41:14 +01:00
committed by GitHub
parent d2d99bccc7
commit cbc7e5466a
79 changed files with 76 additions and 103 deletions

View File

@@ -23,7 +23,7 @@ namespace Acore::Crypto
using Key = std::array<uint8, KEY_SIZE_BYTES>;
using Tag = uint8[TAG_SIZE_BYTES];
AES(bool encrypting);
explicit AES(bool encrypting);
~AES();
void Init(Key const& key);

View File

@@ -16,13 +16,11 @@
*/
#include "Metric.h"
#include "Common.h"
#include "Config.h"
#include "DeadlineTimer.h"
#include "Log.h"
#include "Strand.h"
#include "Tokenize.h"
#include "Util.h"
#include <boost/algorithm/string/replace.hpp>
#include <boost/asio/ip/tcp.hpp>

View File

@@ -16,11 +16,11 @@
*/
#include "ProcessPriority.h"
#include "Log.h"
#ifdef _WIN32 // Windows
#include <Windows.h>
#elif defined(__linux__)
#include "Log.h"
#include <sched.h>
#include <sys/resource.h>
#define PROCESS_HIGH_PRIORITY -15 // [-20, 19], default is 0