Fix #3: delete deprecated comment of Socket contructor

This commit is contained in:
Ding Li
2017-05-22 10:57:01 +08:00
parent c8ffea4433
commit 1450c16b36
-1
View File
@@ -102,7 +102,6 @@ int zmq_proxy_steerable(intptr_t frontend_ref,intptr_t backend_ref,intptr_t capt
class Socket: public SocketOptions
{
public:
//--- it is not recommended to use this constructor directly: use Context factory methods instead
Socket(const Context &ctx,int type):SocketOptions(zmq_socket(ctx.ref(),type)){}
virtual ~Socket() {if(0!=zmq_close(m_ref)){Debug(StringFormat("Failed to close socket 0x%0X",m_ref));}}