Commit 5cd24f30 authored by gabime's avatar gabime

Replaced SPDLOG_FINAL macro with final

parent 27a03c5c
......@@ -61,7 +61,7 @@ public:
colors_[level] = color;
}
void log(const details::log_msg &msg) SPDLOG_FINAL override
void log(const details::log_msg &msg) final override
{
std::lock_guard<mutex_t> lock(mutex_);
fmt::memory_buffer formatted;
......@@ -85,18 +85,18 @@ public:
}
}
void flush() SPDLOG_FINAL override
void flush() final override
{
// windows console always flushed?
}
void set_pattern(const std::string &pattern) override SPDLOG_FINAL
void set_pattern(const std::string &pattern) override final
{
std::lock_guard<mutex_t> lock(mutex_);
formatter_ = std::unique_ptr<spdlog::formatter>(new pattern_formatter(pattern));
}
void set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) override SPDLOG_FINAL
void set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) override final
{
std::lock_guard<mutex_t> lock(mutex_);
formatter_ = std::move(sink_formatter);
......
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