diff options
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 |