From e6c8cee6e9e6dbe257bc6a77899306e611d44d71 Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Tue, 25 Apr 2017 12:33:07 -0700 Subject: coverity: fix various minor issues --- host/lib/rfnoc/nocscript/expression.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/lib/rfnoc/nocscript/expression.hpp') diff --git a/host/lib/rfnoc/nocscript/expression.hpp b/host/lib/rfnoc/nocscript/expression.hpp index 83fc5bcbc..1acd02009 100644 --- a/host/lib/rfnoc/nocscript/expression.hpp +++ b/host/lib/rfnoc/nocscript/expression.hpp @@ -215,6 +215,7 @@ class expression_container : public expression //! Create an empty container expression_container() : _combiner(COMBINE_NOTSET) {}; + virtual ~expression_container(){}; /*! Type-deduction rules for containers are: * - If the combination type is COMBINE_ALL or COMBINE_AND, @@ -299,6 +300,7 @@ class expression_function : public expression_container const std::string &name, const boost::shared_ptr func_table ); + ~expression_function(){}; //! Add an argument expression virtual void add(expression::sptr new_expr); -- cgit v1.2.3