ZMQII-38: Compiler complains about missing virtual constructors

This commit is contained in:
Martin Sustrik 2010-01-13 13:24:29 +01:00
parent 76dbb4f3bb
commit 20a8edcf5c
2 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,8 @@ namespace zmq
struct i_endpoint
{
virtual ~i_endpoint () {}
virtual void attach_pipes (class reader_t *inpipe_,
class writer_t *outpipe_) = 0;
virtual void detach_inpipe (class reader_t *pipe_) = 0;

View File

@ -29,6 +29,8 @@ namespace zmq
struct i_inout
{
virtual ~i_inout () {}
// Engine asks to get a message to send to the network.
virtual bool read (::zmq_msg_t *msg_) = 0;