diff options
Diffstat (limited to 'host/lib/include/uhdlib/transport/io_service.hpp')
-rw-r--r-- | host/lib/include/uhdlib/transport/io_service.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/include/uhdlib/transport/io_service.hpp b/host/lib/include/uhdlib/transport/io_service.hpp index 0cc2f86e3..c97ae49ea 100644 --- a/host/lib/include/uhdlib/transport/io_service.hpp +++ b/host/lib/include/uhdlib/transport/io_service.hpp @@ -104,6 +104,8 @@ class recv_io_if public: using sptr = std::shared_ptr<recv_io_if>; + virtual ~recv_io_if() = default; + /*! * Callback for producing a flow control response (or any other response * needed when a received frame_buff is released via @@ -188,6 +190,8 @@ class send_io_if public: using sptr = std::shared_ptr<send_io_if>; + virtual ~send_io_if() = default; + /*! * Callback for sending the packet. Callback should call release_send_buff() * and update any internal state needed. For example, flow control state @@ -366,6 +370,7 @@ public: io_service() = default; io_service(const io_service&) = delete; io_service& operator=(const io_service&) = delete; + virtual ~io_service() = default; }; }} // namespace uhd::transport |