diff --git a/pw_stream/public/pw_stream/socket_stream.h b/pw_stream/public/pw_stream/socket_stream.h index 41fe154700..d7578221c9 100644 --- a/pw_stream/public/pw_stream/socket_stream.h +++ b/pw_stream/public/pw_stream/socket_stream.h @@ -26,7 +26,7 @@ class SocketStream : public NonSeekableReaderWriter { public: constexpr SocketStream() = default; - ~SocketStream() { Close(); } + ~SocketStream() override { Close(); } // Listen to the port and return after a client is connected Status Serve(uint16_t port);