Skip to content

Commit

Permalink
Update null_sink to be final
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime authored Nov 24, 2024
1 parent 43dcb39 commit 761073c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/sinks/null_sink.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace spdlog {
namespace sinks {

template <typename Mutex>
class null_sink : public base_sink<Mutex> {
class null_sink final : public base_sink<Mutex> {
protected:
void sink_it_(const details::log_msg &) override {}
void flush_() override {}
Expand Down

0 comments on commit 761073c

Please sign in to comment.