aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorSteven Koo <steven.koo@ni.com>2020-08-06 15:28:57 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-08-12 07:13:04 -0500
commitbd851e783658342c313053f6c1e52a68675d59c0 (patch)
treeb079608839a167924d8116297b4ca46fe03256c8 /host/include
parentc4216a079bfcc3dfa59166c86325d1410b5af2f2 (diff)
downloaduhd-bd851e783658342c313053f6c1e52a68675d59c0.tar.gz
uhd-bd851e783658342c313053f6c1e52a68675d59c0.tar.bz2
uhd-bd851e783658342c313053f6c1e52a68675d59c0.zip
rfnoc: set a nop destructor for clang crash
Clang will generate an illegal instruction if a virtual destructor isn't defined.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/property.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/include/uhd/rfnoc/property.hpp b/host/include/uhd/rfnoc/property.hpp
index a5c7246d1..ab773da21 100644
--- a/host/include/uhd/rfnoc/property.hpp
+++ b/host/include/uhd/rfnoc/property.hpp
@@ -41,6 +41,11 @@ public:
}
}
+ virtual ~property_base_t()
+ {
+ //nop
+ }
+
//! Gets the ID (name) of this property
const std::string& get_id() const
{