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 {}