summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pipe.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pipe.hpp b/src/pipe.hpp
index 402efc1..1659e2e 100644
--- a/src/pipe.hpp
+++ b/src/pipe.hpp
@@ -48,6 +48,8 @@ namespace zmq
struct i_reader_events
{
+ virtual ~i_reader_events () {};
+
virtual void terminated (class reader_t *pipe_) = 0;
virtual void activated (class reader_t *pipe_) = 0;
};
@@ -115,6 +117,8 @@ namespace zmq
struct i_writer_events
{
+ virtual ~i_writer_events () {};
+
virtual void terminated (class writer_t *pipe_) = 0;
virtual void activated (class writer_t *pipe_) = 0;
};