diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-09-07 17:06:33 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-09-07 17:06:33 +0200 |
commit | f374431ebe0f3e18a2b2adeafa8093ff59a9eac2 (patch) | |
tree | 1df12c0cfcefc01a9639192d04dddc946f4e2005 /src | |
parent | 6d4ffd90dbda943e5d1215fb56d06eeac1b4420f (diff) |
get rid of 'has virtual functions but non-virtual destructor' warnings in pipe.hpp
Diffstat (limited to 'src')
-rw-r--r-- | src/pipe.hpp | 4 |
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; }; |