Update tcp_sink.h

This commit is contained in:
gabime 2020-02-10 17:21:32 +02:00
parent 1b6d4fd277
commit ff59b07986

View File

@ -31,7 +31,7 @@ public:
sock_ = connect_to(host, port);
}
~tcp_sink()
~tcp_sink() override
{
if (sock_ != -1)
{