diff options
author | Steven Koo <steven.koo@ni.com> | 2020-08-06 15:28:57 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-08-12 07:13:04 -0500 |
commit | bd851e783658342c313053f6c1e52a68675d59c0 (patch) | |
tree | b079608839a167924d8116297b4ca46fe03256c8 /host/include | |
parent | c4216a079bfcc3dfa59166c86325d1410b5af2f2 (diff) | |
download | uhd-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.hpp | 5 |
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 { |