diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2016-02-19 17:38:08 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2016-02-26 14:23:34 -0800 |
commit | c03506fedd75a7fbad242d2be06123a187e66277 (patch) | |
tree | 0c24b9d015fd07ec0fa873c8d95c29716411941c /host/lib/usrp/dboard/db_e3x0.cpp | |
parent | 1c2f56bbc1ccd0bffaac8fa4da174d1ad130a3ba (diff) | |
download | uhd-c03506fedd75a7fbad242d2be06123a187e66277.tar.gz uhd-c03506fedd75a7fbad242d2be06123a187e66277.tar.bz2 uhd-c03506fedd75a7fbad242d2be06123a187e66277.zip |
dboard: Made dboard class dtors virtual
- Interface and all base classes have virtual destructors
- Wrapped UBX dtor in UHD_SAFE_CALL
Diffstat (limited to 'host/lib/usrp/dboard/db_e3x0.cpp')
-rw-r--r-- | host/lib/usrp/dboard/db_e3x0.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/db_e3x0.cpp b/host/lib/usrp/dboard/db_e3x0.cpp index 523927d49..c7cc52d73 100644 --- a/host/lib/usrp/dboard/db_e3x0.cpp +++ b/host/lib/usrp/dboard/db_e3x0.cpp @@ -29,7 +29,7 @@ class e310_dboard : public xcvr_dboard_base{ public: e310_dboard(ctor_args_t args) : xcvr_dboard_base(args) {} - ~e310_dboard(void) {} + virtual ~e310_dboard(void) {} }; /*********************************************************************** @@ -40,7 +40,7 @@ class e300_dboard : public xcvr_dboard_base{ public: e300_dboard(ctor_args_t args) : xcvr_dboard_base(args) {} - ~e300_dboard(void) {} + virtual ~e300_dboard(void) {} }; /*********************************************************************** |