Commit f374431e authored by Martin Sustrik's avatar Martin Sustrik

get rid of 'has virtual functions but non-virtual destructor' warnings in pipe.hpp

parent 6d4ffd90
...@@ -48,6 +48,8 @@ namespace zmq ...@@ -48,6 +48,8 @@ namespace zmq
struct i_reader_events struct i_reader_events
{ {
virtual ~i_reader_events () {};
virtual void terminated (class reader_t *pipe_) = 0; virtual void terminated (class reader_t *pipe_) = 0;
virtual void activated (class reader_t *pipe_) = 0; virtual void activated (class reader_t *pipe_) = 0;
}; };
...@@ -115,6 +117,8 @@ namespace zmq ...@@ -115,6 +117,8 @@ namespace zmq
struct i_writer_events struct i_writer_events
{ {
virtual ~i_writer_events () {};
virtual void terminated (class writer_t *pipe_) = 0; virtual void terminated (class writer_t *pipe_) = 0;
virtual void activated (class writer_t *pipe_) = 0; virtual void activated (class writer_t *pipe_) = 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