From 4866f2ac059ab9a85e8e024b330ce3df66f6a43f Mon Sep 17 00:00:00 2001 From: gabime Date: Mon, 13 Aug 2018 09:27:11 +0300 Subject: [PATCH] Put override kw again --- include/spdlog/sinks/ansicolor_sink.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/spdlog/sinks/ansicolor_sink.h b/include/spdlog/sinks/ansicolor_sink.h index 4bd1c679..3b79976d 100644 --- a/include/spdlog/sinks/ansicolor_sink.h +++ b/include/spdlog/sinks/ansicolor_sink.h @@ -84,7 +84,8 @@ public: const std::string on_cyan = "\033[46m"; const std::string on_white = "\033[47m"; - void log(const details::log_msg &msg) SPDLOG_FINAL { + void log(const details::log_msg &msg) SPDLOG_FINAL override + { // Wrap the originally formatted message in color codes. // If color is not supported in the terminal, log as is instead. std::lock_guard lock(mutex_);