missing virtual modifier or session_base

This commit is contained in:
somdoron
2016-01-28 18:31:05 +02:00
parent 16f1be9de3
commit dc945998a4
3 changed files with 8 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ namespace zmq
// Delivers a message. Returns 0 if successful; -1 otherwise.
// The function takes ownership of the message.
int push_msg (msg_t *msg_);
virtual int push_msg (msg_t *msg_);
int zap_connect ();
bool zap_enabled ();
@@ -84,7 +84,7 @@ namespace zmq
// Fetches a message. Returns 0 if successful; -1 otherwise.
// The caller is responsible for freeing the message when no
// longer used.
int pull_msg (msg_t *msg_);
virtual int pull_msg (msg_t *msg_);
// Receives message from ZAP socket.
// Returns 0 on success; -1 otherwise.