diff --git a/include/spdlog/sinks/dist_sink.h b/include/spdlog/sinks/dist_sink.h index 45ffa143..539a6eeb 100644 --- a/include/spdlog/sinks/dist_sink.h +++ b/include/spdlog/sinks/dist_sink.h @@ -47,7 +47,6 @@ public: protected: void sink_it_(const details::log_msg &msg) override { - for (auto &sink : sinks_) { if (sink->should_log(msg.level))