diff --git a/src/mechanism.hpp b/src/mechanism.hpp index 1f6245ac..a9b04172 100644 --- a/src/mechanism.hpp +++ b/src/mechanism.hpp @@ -58,6 +58,8 @@ namespace zmq protected: + // Only used to identify the socket for the Socket-Type + // property in the wire protocol. const char *socket_type_string (int socket_type) const; size_t add_property (unsigned char *ptr, const char *name, diff --git a/src/stream_engine.hpp b/src/stream_engine.hpp index 0ef0ffd4..1f337e02 100644 --- a/src/stream_engine.hpp +++ b/src/stream_engine.hpp @@ -109,8 +109,6 @@ namespace zmq size_t add_property (unsigned char *ptr, const char *name, const void *value, size_t value_len); - const char *socket_type_string (int socket_type); - // Underlying socket. fd_t s;