SKALE-2794 fix build

parent e1fdce80
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#include "SGXException.h" #include "SGXException.h"
#include "spdlog/spdlog.h" #include "third_party/spdlog/spdlog.h"
#include "common.h" #include "common.h"
std::string *FqToString(libff::alt_bn128_Fq *_fq) { std::string *FqToString(libff::alt_bn128_Fq *_fq) {
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <libff/algebra/curves/alt_bn128/alt_bn128_pp.hpp> #include <libff/algebra/curves/alt_bn128/alt_bn128_pp.hpp>
#include "spdlog/spdlog.h" #include "third_party/spdlog/spdlog.h"
#include "common.h" #include "common.h"
#define DKG_MAX_SEALED_LEN 3100 #define DKG_MAX_SEALED_LEN 3100
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <gmp.h> #include <gmp.h>
#include <random> #include <random>
#include "spdlog/spdlog.h" #include "third_party/spdlog/spdlog.h"
#include "common.h" #include "common.h"
#include "secure_enclave/Verify.h" #include "secure_enclave/Verify.h"
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include "ServerInit.h" #include "ServerInit.h"
#include "spdlog/spdlog.h" #include "third_party/spdlog/spdlog.h"
#include "common.h" #include "common.h"
using namespace leveldb; using namespace leveldb;
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
@date 2019 @date 2019
*/ */
#include "spdlog/spdlog.h" #include "third_party/spdlog/spdlog.h"
#include "sgxwallet_common.h" #include "sgxwallet_common.h"
#include "common.h" #include "common.h"
#include "SGXException.h" #include "SGXException.h"
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "sgxwallet.h" #include "sgxwallet.h"
#include "ServerDataChecker.h" #include "ServerDataChecker.h"
#include "spdlog/spdlog.h" #include "third_party/spdlog/spdlog.h"
bool case_insensitive_match(string s1, string s2) { bool case_insensitive_match(string s1, string s2) {
//convert s1 and s2 into lower case strings //convert s1 and s2 into lower case strings
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <iostream> #include <iostream>
#include "spdlog/spdlog.h" #include "third_party/spdlog/spdlog.h"
#include "common.h" #include "common.h"
vector<string> SplitString(const string& str, const string& delim = ":"){ vector<string> SplitString(const string& str, const string& delim = ":"){
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "leveldb/db.h" #include "leveldb/db.h"
#include <jsonrpccpp/server/connectors/httpserver.h> #include <jsonrpccpp/server/connectors/httpserver.h>
#include "spdlog/spdlog.h" #include "third_party/spdlog/spdlog.h"
#include <gmp.h> #include <gmp.h>
#include <sgx_urts.h> #include <sgx_urts.h>
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
// This is because each message in the queue holds a shared_ptr to the // This is because each message in the queue holds a shared_ptr to the
// originating logger. // originating logger.
#include <spdlog/async_logger.h> #include <third_party/spdlog/async_logger.h>
#include <spdlog/details/registry.h> #include <third_party/spdlog/details/registry.h>
#include <spdlog/details/thread_pool.h> #include <third_party/spdlog/details/thread_pool.h>
#include <memory> #include <memory>
#include <mutex> #include <mutex>
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/async_logger.h> #include <third_party/spdlog/async_logger.h>
#endif #endif
#include <spdlog/sinks/sink.h> #include <third_party/spdlog/sinks/sink.h>
#include <spdlog/details/thread_pool.h> #include <third_party/spdlog/details/thread_pool.h>
#include <memory> #include <memory>
#include <string> #include <string>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
// Upon destruction, logs all remaining messages in the queue before // Upon destruction, logs all remaining messages in the queue before
// destructing.. // destructing..
#include <spdlog/logger.h> #include <third_party/spdlog/logger.h>
namespace spdlog { namespace spdlog {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#endif #endif
namespace spdlog { namespace spdlog {
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
#pragma once #pragma once
#include <spdlog/tweakme.h> #include <third_party/spdlog/tweakme.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <atomic> #include <atomic>
#include <chrono> #include <chrono>
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#define SPDLOG_INLINE inline #define SPDLOG_INLINE inline
#endif #endif
#include <spdlog/fmt/fmt.h> #include <third_party/spdlog/fmt/fmt.h>
// visual studio upto 2013 does not support noexcept nor constexpr // visual studio upto 2013 does not support noexcept nor constexpr
#if defined(_MSC_VER) && (_MSC_VER < 1900) #if defined(_MSC_VER) && (_MSC_VER < 1900)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/backtracer.h> #include <third_party/spdlog/details/backtracer.h>
#endif #endif
namespace spdlog { namespace spdlog {
namespace details { namespace details {
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
#pragma once #pragma once
#include <spdlog/details/log_msg_buffer.h> #include <third_party/spdlog/details/log_msg_buffer.h>
#include <spdlog/details/circular_q.h> #include <third_party/spdlog/details/circular_q.h>
#include <atomic> #include <atomic>
#include <mutex> #include <mutex>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#pragma once #pragma once
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <mutex> #include <mutex>
namespace spdlog { namespace spdlog {
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/file_helper.h> #include <third_party/spdlog/details/file_helper.h>
#endif #endif
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <cerrno> #include <cerrno>
#include <chrono> #include <chrono>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#pragma once #pragma once
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <tuple> #include <tuple>
namespace spdlog { namespace spdlog {
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
#include <chrono> #include <chrono>
#include <type_traits> #include <type_traits>
#include <spdlog/fmt/fmt.h> #include <third_party/spdlog/fmt/fmt.h>
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
// Some fmt helpers to efficiently format and pad ints and strings // Some fmt helpers to efficiently format and pad ints and strings
namespace spdlog { namespace spdlog {
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/log_msg.h> #include <third_party/spdlog/details/log_msg.h>
#endif #endif
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
namespace spdlog { namespace spdlog {
namespace details { namespace details {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#pragma once #pragma once
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <string> #include <string>
namespace spdlog { namespace spdlog {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/log_msg_buffer.h> #include <third_party/spdlog/details/log_msg_buffer.h>
#endif #endif
namespace spdlog { namespace spdlog {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#pragma once #pragma once
#include <spdlog/details/log_msg.h> #include <third_party/spdlog/details/log_msg.h>
namespace spdlog { namespace spdlog {
namespace details { namespace details {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
// dequeue_for(..) - will block until the queue is not empty or timeout have // dequeue_for(..) - will block until the queue is not empty or timeout have
// passed. // passed.
#include <spdlog/details/circular_q.h> #include <third_party/spdlog/details/circular_q.h>
#include <condition_variable> #include <condition_variable>
#include <mutex> #include <mutex>
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
#endif #endif
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <algorithm> #include <algorithm>
#include <chrono> #include <chrono>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#pragma once #pragma once
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <ctime> // std::time_t #include <ctime> // std::time_t
namespace spdlog { namespace spdlog {
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/pattern_formatter.h> #include <third_party/spdlog/details/pattern_formatter.h>
#endif #endif
#include <spdlog/details/fmt_helper.h> #include <third_party/spdlog/details/fmt_helper.h>
#include <spdlog/details/log_msg.h> #include <third_party/spdlog/details/log_msg.h>
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
#include <spdlog/fmt/fmt.h> #include <third_party/spdlog/fmt/fmt.h>
#include <spdlog/formatter.h> #include <third_party/spdlog/formatter.h>
#include <array> #include <array>
#include <chrono> #include <chrono>
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
#pragma once #pragma once
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/log_msg.h> #include <third_party/spdlog/details/log_msg.h>
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
#include <spdlog/formatter.h> #include <third_party/spdlog/formatter.h>
#include <chrono> #include <chrono>
#include <ctime> #include <ctime>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/periodic_worker.h> #include <third_party/spdlog/details/periodic_worker.h>
#endif #endif
namespace spdlog { namespace spdlog {
......
...@@ -4,20 +4,20 @@ ...@@ -4,20 +4,20 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/registry.h> #include <third_party/spdlog/details/registry.h>
#endif #endif
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/periodic_worker.h> #include <third_party/spdlog/details/periodic_worker.h>
#include <spdlog/logger.h> #include <third_party/spdlog/logger.h>
#include <spdlog/details/pattern_formatter.h> #include <third_party/spdlog/details/pattern_formatter.h>
#ifndef SPDLOG_DISABLE_DEFAULT_LOGGER #ifndef SPDLOG_DISABLE_DEFAULT_LOGGER
// support for the default stdout color logger // support for the default stdout color logger
#ifdef _WIN32 #ifdef _WIN32
#include <spdlog/sinks/wincolor_sink.h> #include <third_party/spdlog/sinks/wincolor_sink.h>
#else #else
#include <spdlog/sinks/ansicolor_sink.h> #include <third_party/spdlog/sinks/ansicolor_sink.h>
#endif #endif
#endif // SPDLOG_DISABLE_DEFAULT_LOGGER #endif // SPDLOG_DISABLE_DEFAULT_LOGGER
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// If user requests a non existing logger, nullptr will be returned // If user requests a non existing logger, nullptr will be returned
// This class is thread safe // This class is thread safe
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <chrono> #include <chrono>
#include <functional> #include <functional>
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/thread_pool.h> #include <third_party/spdlog/details/thread_pool.h>
#endif #endif
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <cassert> #include <cassert>
namespace spdlog { namespace spdlog {
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
#pragma once #pragma once
#include <spdlog/details/log_msg_buffer.h> #include <third_party/spdlog/details/log_msg_buffer.h>
#include <spdlog/details/mpmc_blocking_q.h> #include <third_party/spdlog/details/mpmc_blocking_q.h>
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
#include <chrono> #include <chrono>
#include <memory> #include <memory>
...@@ -27,7 +27,7 @@ enum class async_msg_type ...@@ -27,7 +27,7 @@ enum class async_msg_type
terminate terminate
}; };
#include <spdlog/details/log_msg_buffer.h> #include <third_party/spdlog/details/log_msg_buffer.h>
// Async msg to move to/from the queue // Async msg to move to/from the queue
// Movable only. should never be copied // Movable only. should never be copied
struct async_msg : log_msg_buffer struct async_msg : log_msg_buffer
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
#ifndef FMT_USE_WINDOWS_H #ifndef FMT_USE_WINDOWS_H
#define FMT_USE_WINDOWS_H 0 #define FMT_USE_WINDOWS_H 0
#endif #endif
#include <spdlog/fmt/bundled/core.h> #include <third_party/spdlog/fmt/bundled/core.h>
#include <spdlog/fmt/bundled/format.h> #include <third_party/spdlog/fmt/bundled/format.h>
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib #else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
#include <fmt/core.h> #include <fmt/core.h>
#include <fmt/format.h> #include <fmt/format.h>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#define FMT_HEADER_ONLY #define FMT_HEADER_ONLY
#endif #endif
#endif #endif
#include <spdlog/fmt/bundled/ostream.h> #include <third_party/spdlog/fmt/bundled/ostream.h>
#else #else
#include <fmt/ostream.h> #include <fmt/ostream.h>
#endif #endif
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
#pragma once #pragma once
#include <spdlog/fmt/fmt.h> #include <third_party/spdlog/fmt/fmt.h>
#include <spdlog/details/log_msg.h> #include <third_party/spdlog/details/log_msg.h>
namespace spdlog { namespace spdlog {
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/logger.h> #include <third_party/spdlog/logger.h>
#endif #endif
#include <spdlog/sinks/sink.h> #include <third_party/spdlog/sinks/sink.h>
#include <spdlog/details/backtracer.h> #include <third_party/spdlog/details/backtracer.h>
#include <spdlog/details/pattern_formatter.h> #include <third_party/spdlog/details/pattern_formatter.h>
#include <cstdio> #include <cstdio>
......
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
// The use of private formatter per sink provides the opportunity to cache some // The use of private formatter per sink provides the opportunity to cache some
// formatted data, and support for different format per sink. // formatted data, and support for different format per sink.
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/log_msg.h> #include <third_party/spdlog/details/log_msg.h>
#include <spdlog/details/backtracer.h> #include <third_party/spdlog/details/backtracer.h>
#ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT #ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
#endif #endif
#include <vector> #include <vector>
......
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
#ifdef __ANDROID__ #ifdef __ANDROID__
#include <spdlog/details/fmt_helper.h> #include <third_party/spdlog/details/fmt_helper.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
#include <spdlog/sinks/base_sink.h> #include <third_party/spdlog/sinks/base_sink.h>
#include <spdlog/details/synchronous_factory.h> #include <third_party/spdlog/details/synchronous_factory.h>
#include <android/log.h> #include <android/log.h>
#include <chrono> #include <chrono>
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/sinks/ansicolor_sink.h> #include <third_party/spdlog/sinks/ansicolor_sink.h>
#endif #endif
#include <spdlog/details/pattern_formatter.h> #include <third_party/spdlog/details/pattern_formatter.h>
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
namespace spdlog { namespace spdlog {
namespace sinks { namespace sinks {
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
#pragma once #pragma once
#include <spdlog/details/console_globals.h> #include <third_party/spdlog/details/console_globals.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/sinks/sink.h> #include <third_party/spdlog/sinks/sink.h>
#include <memory> #include <memory>
#include <mutex> #include <mutex>
#include <string> #include <string>
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/sinks/base_sink.h> #include <third_party/spdlog/sinks/base_sink.h>
#endif #endif
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/pattern_formatter.h> #include <third_party/spdlog/details/pattern_formatter.h>
#include <memory> #include <memory>
......
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
// implementers.. // implementers..
// //
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/log_msg.h> #include <third_party/spdlog/details/log_msg.h>
#include <spdlog/sinks/sink.h> #include <third_party/spdlog/sinks/sink.h>
namespace spdlog { namespace spdlog {
namespace sinks { namespace sinks {
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/sinks/basic_file_sink.h> #include <third_party/spdlog/sinks/basic_file_sink.h>
#endif #endif
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
namespace spdlog { namespace spdlog {
namespace sinks { namespace sinks {
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
#pragma once #pragma once
#include <spdlog/details/file_helper.h> #include <third_party/spdlog/details/file_helper.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/sinks/base_sink.h> #include <third_party/spdlog/sinks/base_sink.h>
#include <spdlog/details/synchronous_factory.h> #include <third_party/spdlog/details/synchronous_factory.h>
#include <mutex> #include <mutex>
#include <string> #include <string>
......
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
#pragma once #pragma once
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/file_helper.h> #include <third_party/spdlog/details/file_helper.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/fmt/fmt.h> #include <third_party/spdlog/fmt/fmt.h>
#include <spdlog/sinks/base_sink.h> #include <third_party/spdlog/sinks/base_sink.h>
#include <spdlog/details/os.h> #include <third_party/spdlog/details/os.h>
#include <spdlog/details/circular_q.h> #include <third_party/spdlog/details/circular_q.h>
#include <spdlog/details/synchronous_factory.h> #include <third_party/spdlog/details/synchronous_factory.h>
#include <chrono> #include <chrono>
#include <cstdio> #include <cstdio>
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
#pragma once #pragma once
#include "base_sink.h" #include "base_sink.h"
#include <spdlog/details/log_msg.h> #include <third_party/spdlog/details/log_msg.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/details/pattern_formatter.h> #include <third_party/spdlog/details/pattern_formatter.h>
#include <algorithm> #include <algorithm>
#include <memory> #include <memory>
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
#pragma once #pragma once
#include "dist_sink.h" #include "dist_sink.h"
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/details/log_msg.h> #include <third_party/spdlog/details/log_msg.h>
#include <mutex> #include <mutex>
#include <string> #include <string>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
// //
// Example: // Example:
// //
// #include <spdlog/sinks/dup_filter_sink.h> // #include <third_party/spdlog/sinks/dup_filter_sink.h>
// //
// int main() { // int main() {
// auto dup_filter = std::make_shared<dup_filter_sink_st>(std::chrono::seconds(5)); // auto dup_filter = std::make_shared<dup_filter_sink_st>(std::chrono::seconds(5));
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
#if defined(_WIN32) #if defined(_WIN32)
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/sinks/base_sink.h> #include <third_party/spdlog/sinks/base_sink.h>
#include <winbase.h> #include <winbase.h>
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
#pragma once #pragma once
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/sinks/base_sink.h> #include <third_party/spdlog/sinks/base_sink.h>
#include <spdlog/details/synchronous_factory.h> #include <third_party/spdlog/details/synchronous_factory.h>
#include <mutex> #include <mutex>
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
#pragma once #pragma once
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/sinks/base_sink.h> #include <third_party/spdlog/sinks/base_sink.h>
#include <mutex> #include <mutex>
#include <ostream> #include <ostream>
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/sinks/rotating_file_sink.h> #include <third_party/spdlog/sinks/rotating_file_sink.h>
#endif #endif
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/file_helper.h> #include <third_party/spdlog/details/file_helper.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/fmt/fmt.h> #include <third_party/spdlog/fmt/fmt.h>
#include <cerrno> #include <cerrno>
#include <chrono> #include <chrono>
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
#pragma once #pragma once
#include <spdlog/sinks/base_sink.h> #include <third_party/spdlog/sinks/base_sink.h>
#include <spdlog/details/file_helper.h> #include <third_party/spdlog/details/file_helper.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/details/synchronous_factory.h> #include <third_party/spdlog/details/synchronous_factory.h>
#include <chrono> #include <chrono>
#include <mutex> #include <mutex>
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/sinks/sink.h> #include <third_party/spdlog/sinks/sink.h>
#endif #endif
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
SPDLOG_INLINE bool spdlog::sinks::sink::should_log(spdlog::level::level_enum msg_level) const SPDLOG_INLINE bool spdlog::sinks::sink::should_log(spdlog::level::level_enum msg_level) const
{ {
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
#pragma once #pragma once
#include <spdlog/details/log_msg.h> #include <third_party/spdlog/details/log_msg.h>
#include <spdlog/formatter.h> #include <third_party/spdlog/formatter.h>
namespace spdlog { namespace spdlog {
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/sinks/stdout_color_sinks.h> #include <third_party/spdlog/sinks/stdout_color_sinks.h>
#endif #endif
#include <spdlog/logger.h> #include <third_party/spdlog/logger.h>
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
namespace spdlog { namespace spdlog {
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
#pragma once #pragma once
#ifdef _WIN32 #ifdef _WIN32
#include <spdlog/sinks/wincolor_sink.h> #include <third_party/spdlog/sinks/wincolor_sink.h>
#else #else
#include <spdlog/sinks/ansicolor_sink.h> #include <third_party/spdlog/sinks/ansicolor_sink.h>
#endif #endif
#include <spdlog/details/synchronous_factory.h> #include <third_party/spdlog/details/synchronous_factory.h>
namespace spdlog { namespace spdlog {
namespace sinks { namespace sinks {
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/sinks/stdout_sinks.h> #include <third_party/spdlog/sinks/stdout_sinks.h>
#endif #endif
#include <spdlog/details/console_globals.h> #include <third_party/spdlog/details/console_globals.h>
#include <spdlog/details/pattern_formatter.h> #include <third_party/spdlog/details/pattern_formatter.h>
#include <memory> #include <memory>
namespace spdlog { namespace spdlog {
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
#pragma once #pragma once
#include <spdlog/details/console_globals.h> #include <third_party/spdlog/details/console_globals.h>
#include <spdlog/details/synchronous_factory.h> #include <third_party/spdlog/details/synchronous_factory.h>
#include <spdlog/sinks/sink.h> #include <third_party/spdlog/sinks/sink.h>
#include <cstdio> #include <cstdio>
namespace spdlog { namespace spdlog {
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
#pragma once #pragma once
#include <spdlog/sinks/base_sink.h> #include <third_party/spdlog/sinks/base_sink.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <array> #include <array>
#include <string> #include <string>
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
#pragma once #pragma once
#include <spdlog/sinks/base_sink.h> #include <third_party/spdlog/sinks/base_sink.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/details/synchronous_factory.h> #include <third_party/spdlog/details/synchronous_factory.h>
#include <array> #include <array>
#ifndef SD_JOURNAL_SUPPRESS_LOCATION #ifndef SD_JOURNAL_SUPPRESS_LOCATION
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/sinks/wincolor_sink.h> #include <third_party/spdlog/sinks/wincolor_sink.h>
#endif #endif
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/pattern_formatter.h> #include <third_party/spdlog/details/pattern_formatter.h>
namespace spdlog { namespace spdlog {
namespace sinks { namespace sinks {
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
#pragma once #pragma once
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/console_globals.h> #include <third_party/spdlog/details/console_globals.h>
#include <spdlog/details/null_mutex.h> #include <third_party/spdlog/details/null_mutex.h>
#include <spdlog/sinks/sink.h> #include <third_party/spdlog/sinks/sink.h>
#include <memory> #include <memory>
#include <mutex> #include <mutex>
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
#pragma once #pragma once
#ifndef SPDLOG_HEADER_ONLY #ifndef SPDLOG_HEADER_ONLY
#include <spdlog/spdlog.h> #include <third_party/spdlog/spdlog.h>
#endif #endif
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/pattern_formatter.h> #include <third_party/spdlog/details/pattern_formatter.h>
namespace spdlog { namespace spdlog {
......
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
#pragma once #pragma once
#include <spdlog/common.h> #include <third_party/spdlog/common.h>
#include <spdlog/details/registry.h> #include <third_party/spdlog/details/registry.h>
#include <spdlog/logger.h> #include <third_party/spdlog/logger.h>
#include <spdlog/version.h> #include <third_party/spdlog/version.h>
#include <spdlog/details/synchronous_factory.h> #include <third_party/spdlog/details/synchronous_factory.h>
#include <chrono> #include <chrono>
#include <functional> #include <functional>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment