From 761073c09b9f7b61efbf0b348dbe67076f5ce7ce Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 24 Nov 2024 23:16:49 +0200 Subject: [PATCH] Update null_sink to be final --- include/spdlog/sinks/null_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/null_sink.h b/include/spdlog/sinks/null_sink.h index c51247fe..74530b5b 100644 --- a/include/spdlog/sinks/null_sink.h +++ b/include/spdlog/sinks/null_sink.h @@ -13,7 +13,7 @@ namespace spdlog { namespace sinks { template -class null_sink : public base_sink { +class null_sink final : public base_sink { protected: void sink_it_(const details::log_msg &) override {} void flush_() override {}