From 8121df9b040773b36b83b48f931429e1df307be2 Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Mon, 2 Dec 2024 21:00:21 +0000 Subject: [PATCH] Add missing destructor --- hwcpipe/include/hwcpipe/detail/internal_types.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hwcpipe/include/hwcpipe/detail/internal_types.hpp b/hwcpipe/include/hwcpipe/detail/internal_types.hpp index d5276b0..896e9f6 100644 --- a/hwcpipe/include/hwcpipe/detail/internal_types.hpp +++ b/hwcpipe/include/hwcpipe/detail/internal_types.hpp @@ -29,6 +29,11 @@ namespace expression { */ class context { public: + /** + * @brief Ensure we have a destructor for polymorphic type. + */ + virtual ~context() {} + /** * @brief Returns the value a hardware counter from the sampler to be used * in the expression evaluator