summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i_endpoint.hpp2
-rw-r--r--src/i_inout.hpp2
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;