Skip to content

Commit ec0665c

Browse files
committed
Add missing destructor
1 parent dcb4605 commit ec0665c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hwcpipe/include/hwcpipe/detail/internal_types.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ namespace expression {
2929
*/
3030
class context {
3131
public:
32+
/**
33+
* @brief Ensure we have a destructor for polymorphic type.
34+
*/
35+
virtual ~context() {}
36+
3237
/**
3338
* @brief Returns the value a hardware counter from the sampler to be used
3439
* in the expression evaluator

0 commit comments

Comments
 (0)