aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2018-05-02 11:14:22 -0500
committerMartin Braun <martin.braun@ettus.com>2018-05-02 11:58:31 -0700
commitc13cb9ec43e8bc1fe8118333a5456a9f77a43ac0 (patch)
tree74f7b9d8c9127079cd9cb54447ecb88c65fd834d
parentbcad3f377c488df6a861caf98026adbeb84d7a2c (diff)
downloaduhd-c13cb9ec43e8bc1fe8118333a5456a9f77a43ac0.tar.gz
uhd-c13cb9ec43e8bc1fe8118333a5456a9f77a43ac0.tar.bz2
uhd-c13cb9ec43e8bc1fe8118333a5456a9f77a43ac0.zip
mpmd: add missing virtual destructors
-rw-r--r--host/lib/usrp/mpmd/mpmd_xport_ctrl_base.hpp1
-rw-r--r--host/lib/usrp/mpmd/mpmd_xport_mgr.hpp1
2 files changed, 2 insertions, 0 deletions
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<mpmd_xport_ctrl_base>;
+ 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<mpmd_xport_mgr>;
using xport_info_t = std::map<std::string, std::string>;
using xport_info_list_t = std::vector<std::map<std::string, std::string>>;
+ virtual ~mpmd_xport_mgr() {}
/*! Return a reference to a transport manager
*