Update null_sink to be final

This commit is contained in:
Gabi Melman 2024-11-24 23:16:49 +02:00 committed by GitHub
parent 43dcb3982d
commit 761073c09b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ namespace spdlog {
namespace sinks { namespace sinks {
template <typename Mutex> template <typename Mutex>
class null_sink : public base_sink<Mutex> { class null_sink final : public base_sink<Mutex> {
protected: protected:
void sink_it_(const details::log_msg &) override {} void sink_it_(const details::log_msg &) override {}
void flush_() override {} void flush_() override {}