diff options
Diffstat (limited to 'host/lib/usrp/common/recv_packet_demuxer.cpp')
-rw-r--r-- | host/lib/usrp/common/recv_packet_demuxer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/usrp/common/recv_packet_demuxer.cpp b/host/lib/usrp/common/recv_packet_demuxer.cpp index c5ed1563e..9d3067286 100644 --- a/host/lib/usrp/common/recv_packet_demuxer.cpp +++ b/host/lib/usrp/common/recv_packet_demuxer.cpp @@ -26,7 +26,7 @@ public: { /*NOP*/ } - void release(void) + void release(void) override { delete this; } @@ -56,7 +56,8 @@ public: /* NOP */ } - managed_recv_buffer::sptr get_recv_buff(const size_t index, const double timeout) + managed_recv_buffer::sptr get_recv_buff( + const size_t index, const double timeout) override { boost::mutex::scoped_lock lock(_mutex); managed_recv_buffer::sptr buff; |