diff --git a/src/tbb/global_control.cpp b/src/tbb/global_control.cpp index 12c146c2c1..b8dd6b34f8 100644 --- a/src/tbb/global_control.cpp +++ b/src/tbb/global_control.cpp @@ -49,6 +49,7 @@ class control_storage { std::set> my_list{}; spin_mutex my_list_mutex{}; public: + virtual ~control_storage() = default; virtual std::size_t default_value() const = 0; virtual void apply_active(std::size_t new_active) { my_active_value = new_active;