Commit 20a8edcf authored by Martin Sustrik's avatar Martin Sustrik

ZMQII-38: Compiler complains about missing virtual constructors

parent 76dbb4f3
...@@ -25,6 +25,8 @@ namespace zmq ...@@ -25,6 +25,8 @@ namespace zmq
struct i_endpoint struct i_endpoint
{ {
virtual ~i_endpoint () {}
virtual void attach_pipes (class reader_t *inpipe_, virtual void attach_pipes (class reader_t *inpipe_,
class writer_t *outpipe_) = 0; class writer_t *outpipe_) = 0;
virtual void detach_inpipe (class reader_t *pipe_) = 0; virtual void detach_inpipe (class reader_t *pipe_) = 0;
......
...@@ -29,6 +29,8 @@ namespace zmq ...@@ -29,6 +29,8 @@ namespace zmq
struct i_inout struct i_inout
{ {
virtual ~i_inout () {}
// Engine asks to get a message to send to the network. // Engine asks to get a message to send to the network.
virtual bool read (::zmq_msg_t *msg_) = 0; virtual bool read (::zmq_msg_t *msg_) = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment