Minor cleanup

This commit is contained in:
gabime
2024-11-29 16:15:13 +02:00
parent bb3d25b626
commit 0ef49d7df6
4 changed files with 3 additions and 4 deletions

View File

@@ -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>;

View File

@@ -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);
}