0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-31 01:43:02 +08:00

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

This commit is contained in:
Martin Sustrik 2010-09-07 17:06:33 +02:00
parent 6d4ffd90db
commit f374431ebe

View File

@ -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;
};