diff --git a/fairmq/Socket.h b/fairmq/Socket.h index 7b0574dd8..3f1e38aba 100644 --- a/fairmq/Socket.h +++ b/fairmq/Socket.h @@ -46,6 +46,7 @@ struct Socket virtual int64_t Send(std::vector>& msgVec, int timeout = -1) = 0; virtual int64_t Receive(std::vector>& msgVec, int timeout = -1) = 0; + [[deprecated("Use Socket::~Socket() instead.")]] virtual void Close() = 0; virtual void SetOption(const std::string& option, const void* value, size_t valueSize) = 0;