Skip to content

Commit 378e7bd

Browse files
committed
Add missing destructor
1 parent dcb4605 commit 378e7bd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

hwcpipe/include/hwcpipe/detail/internal_types.hpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023 Arm Limited.
2+
* Copyright (c) 2023-2025 Arm Limited.
33
*
44
* SPDX-License-Identifier: MIT
55
*/
@@ -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() noexcept = default;
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)