From 15f539685bbb21b3bb01475ac89c6d8d53b5b60f Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Mon, 25 Nov 2024 00:32:47 +0200 Subject: [PATCH] Update null_sink to be final (#3267) --- 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 {}