From c13cb9ec43e8bc1fe8118333a5456a9f77a43ac0 Mon Sep 17 00:00:00 2001 From: Mark Meserve Date: Wed, 2 May 2018 11:14:22 -0500 Subject: mpmd: add missing virtual destructors --- host/lib/usrp/mpmd/mpmd_xport_ctrl_base.hpp | 1 + host/lib/usrp/mpmd/mpmd_xport_mgr.hpp | 1 + 2 files changed, 2 insertions(+) (limited to 'host/lib') diff --git a/host/lib/usrp/mpmd/mpmd_xport_ctrl_base.hpp b/host/lib/usrp/mpmd/mpmd_xport_ctrl_base.hpp index e8481292a..78ffeaf1b 100644 --- a/host/lib/usrp/mpmd/mpmd_xport_ctrl_base.hpp +++ b/host/lib/usrp/mpmd/mpmd_xport_ctrl_base.hpp @@ -20,6 +20,7 @@ class mpmd_xport_ctrl_base { public: using uptr = std::unique_ptr; + virtual ~mpmd_xport_ctrl_base() {} /*! This is the final step of a make_transport() sequence * diff --git a/host/lib/usrp/mpmd/mpmd_xport_mgr.hpp b/host/lib/usrp/mpmd/mpmd_xport_mgr.hpp index d86d674df..72700e69a 100644 --- a/host/lib/usrp/mpmd/mpmd_xport_mgr.hpp +++ b/host/lib/usrp/mpmd/mpmd_xport_mgr.hpp @@ -53,6 +53,7 @@ public: using uptr = std::unique_ptr; using xport_info_t = std::map; using xport_info_list_t = std::vector>; + virtual ~mpmd_xport_mgr() {} /*! Return a reference to a transport manager * -- cgit v1.2.3