diff --git a/include/spdlog/sinks/tcp_sink.h b/include/spdlog/sinks/tcp_sink.h index 958d8875..a44e6716 100644 --- a/include/spdlog/sinks/tcp_sink.h +++ b/include/spdlog/sinks/tcp_sink.h @@ -31,7 +31,7 @@ public: sock_ = connect_to(host, port); } - ~tcp_sink() + ~tcp_sink() override { if (sock_ != -1) {