mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
fixed pedantic gcc errors
This commit is contained in:
parent
005a36f4fd
commit
4dd31bf031
@ -63,7 +63,7 @@ using log_clock = std::chrono::system_clock;
|
||||
using sink_ptr = std::shared_ptr < sinks::sink > ;
|
||||
using sinks_init_list = std::initializer_list < sink_ptr > ;
|
||||
using formatter_ptr = std::shared_ptr<spdlog::formatter>;
|
||||
using thread_id = std::size_t;
|
||||
using log_thread_id = std::size_t;
|
||||
|
||||
//Log level enum
|
||||
namespace level
|
||||
|
@ -59,7 +59,7 @@ class async_log_helper
|
||||
std::string logger_name;
|
||||
level::level_enum level;
|
||||
log_clock::time_point time;
|
||||
thread_id thread_id;
|
||||
log_thread_id thread_id;
|
||||
std::string txt;
|
||||
|
||||
async_msg() = default;
|
||||
|
@ -90,7 +90,7 @@ struct log_msg
|
||||
std::string logger_name;
|
||||
level::level_enum level;
|
||||
log_clock::time_point time;
|
||||
thread_id thread_id;
|
||||
log_thread_id thread_id;
|
||||
fmt::MemoryWriter raw;
|
||||
fmt::MemoryWriter formatted;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user