mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Minor cleanup
This commit is contained in:
@@ -53,6 +53,5 @@ void spdlog::sinks::base_sink<Mutex>::set_formatter_(std::unique_ptr<spdlog::for
|
||||
}
|
||||
|
||||
// template instantiations
|
||||
|
||||
template class SPDLOG_API spdlog::sinks::base_sink<std::mutex>;
|
||||
template class SPDLOG_API spdlog::sinks::base_sink<spdlog::details::null_mutex>;
|
||||
template class SPDLOG_API spdlog::sinks::base_sink<spdlog::details::null_mutex>;
|
||||
|
@@ -12,5 +12,5 @@ bool spdlog::sinks::sink::should_log(spdlog::level msg_level) const {
|
||||
void spdlog::sinks::sink::set_level(level level) { level_.store(level, std::memory_order_relaxed); }
|
||||
|
||||
spdlog::level spdlog::sinks::sink::log_level() const {
|
||||
return static_cast<spdlog::level>(level_.load(std::memory_order_relaxed));
|
||||
return level_.load(std::memory_order_relaxed);
|
||||
}
|
||||
|
Reference in New Issue
Block a user