diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-01-18 13:54:48 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-01-22 18:16:59 -0800 |
commit | ec2cad0346a7e459222d976a2cb4de34339aa3ae (patch) | |
tree | 8fe7e1a69588c3baf1a2c02b4040c8bee48e014c /host/lib/rfnoc/nocscript/expression.hpp | |
parent | 04722ba053fa6225c5a71d34316cbac093b87f66 (diff) | |
download | uhd-ec2cad0346a7e459222d976a2cb4de34339aa3ae.tar.gz uhd-ec2cad0346a7e459222d976a2cb4de34339aa3ae.tar.bz2 uhd-ec2cad0346a7e459222d976a2cb4de34339aa3ae.zip |
lib: rfnoc: Add some missing virtual destructors
Diffstat (limited to 'host/lib/rfnoc/nocscript/expression.hpp')
-rw-r--r-- | host/lib/rfnoc/nocscript/expression.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/host/lib/rfnoc/nocscript/expression.hpp b/host/lib/rfnoc/nocscript/expression.hpp index becc329f0..309741295 100644 --- a/host/lib/rfnoc/nocscript/expression.hpp +++ b/host/lib/rfnoc/nocscript/expression.hpp @@ -72,6 +72,8 @@ public: //! Create an int vector literal expression from a C++ vector<int>. expression_literal(std::vector<int> v); + virtual ~expression_literal() {} + expression::type_t infer_type() const { return _type; @@ -192,7 +194,7 @@ public: //! Create an empty container expression_container() : _combiner(COMBINE_NOTSET){}; - virtual ~expression_container(){}; + virtual ~expression_container() {} /*! Type-deduction rules for containers are: * - If the combination type is COMBINE_ALL or COMBINE_AND, @@ -331,6 +333,8 @@ public: type_getter_type type_getter, value_getter_type value_getter); + virtual ~expression_variable() {} + /*! Looks up the variable type in the variable table. * * \throws Depending on \p type_getter, this may throw when the variable does not |