Commit 083d6c0d authored by gabime's avatar gabime

rename atomic level type name

parent 974379c9
...@@ -42,9 +42,9 @@ using sink_ptr = std::shared_ptr < sinks::sink >; ...@@ -42,9 +42,9 @@ using sink_ptr = std::shared_ptr < sinks::sink >;
using sinks_init_list = std::initializer_list < sink_ptr >; using sinks_init_list = std::initializer_list < sink_ptr >;
using formatter_ptr = std::shared_ptr<spdlog::formatter>; using formatter_ptr = std::shared_ptr<spdlog::formatter>;
#if defined(SPDLOG_NO_ATOMIC_LEVELS) #if defined(SPDLOG_NO_ATOMIC_LEVELS)
using atomic_level = details::null_atomic_int; using level_t = details::null_atomic_int;
#else #else
using atomic_level = std::atomic_int; using level_t = std::atomic_int;
#endif #endif
//Log level enum //Log level enum
......
...@@ -103,7 +103,7 @@ protected: ...@@ -103,7 +103,7 @@ protected:
std::string _name; std::string _name;
std::vector<sink_ptr> _sinks; std::vector<sink_ptr> _sinks;
formatter_ptr _formatter; formatter_ptr _formatter;
spdlog::atomic_level _level; spdlog::level_t _level;
}; };
} }
......
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