diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-13 13:24:29 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-13 13:24:29 +0100 |
commit | 20a8edcf5c2d9d5099d194e5a87c501d49c47328 (patch) | |
tree | ad772811c0d5478e05b59cbe436b0dd3e64c73aa /src | |
parent | 76dbb4f3bb88f73bc40e3de72e258e321375cd2f (diff) |
ZMQII-38: Compiler complains about missing virtual constructors
Diffstat (limited to 'src')
-rw-r--r-- | src/i_endpoint.hpp | 2 | ||||
-rw-r--r-- | src/i_inout.hpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/i_endpoint.hpp b/src/i_endpoint.hpp index 3abd159..d60b39e 100644 --- a/src/i_endpoint.hpp +++ b/src/i_endpoint.hpp @@ -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; diff --git a/src/i_inout.hpp b/src/i_inout.hpp index 1053449..c11137d 100644 --- a/src/i_inout.hpp +++ b/src/i_inout.hpp @@ -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; |