summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-07-15 15:20:56 -0700
committerJosh Blum <josh@joshknows.com>2013-07-15 15:20:56 -0700
commita7153fecdb1416df03f21467c52dbb35cb675f6f (patch)
tree04473eaaa56aef63597d0daf937d451ebcc28fb6 /host/lib/usrp
parentead07058f1d6f24ed390081df83044099b171a85 (diff)
downloaduhd-a7153fecdb1416df03f21467c52dbb35cb675f6f.tar.gz
uhd-a7153fecdb1416df03f21467c52dbb35cb675f6f.tar.bz2
uhd-a7153fecdb1416df03f21467c52dbb35cb675f6f.zip
uhd: added virtual destructors for several interface classes
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/dboard_iface.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard_iface.cpp b/host/lib/usrp/dboard_iface.cpp
index 5cc5ea470..6be50130a 100644
--- a/host/lib/usrp/dboard_iface.cpp
+++ b/host/lib/usrp/dboard_iface.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010 Ettus Research LLC
+// Copyright 2010-2013 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -31,6 +31,11 @@ dboard_iface::dboard_iface(void){
_impl = UHD_PIMPL_MAKE(impl, ());
}
+dboard_iface::~dboard_iface(void)
+{
+ //empty
+}
+
template <typename T>
static T shadow_it(T &shadow, const T &value, const T &mask){
shadow = (shadow & ~mask) | (value & mask);