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:
parent
6d4ffd90db
commit
f374431ebe
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user