Skip to content

Commit

Permalink
Add missing destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel committed Jan 2, 2025
1 parent dcb4605 commit 378e7bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hwcpipe/include/hwcpipe/detail/internal_types.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Arm Limited.
* Copyright (c) 2023-2025 Arm Limited.
*
* SPDX-License-Identifier: MIT
*/
Expand Down Expand Up @@ -29,6 +29,11 @@ namespace expression {
*/
class context {
public:
/**
* @brief Ensure we have a destructor for polymorphic type.
*/
virtual ~context() noexcept = default;

/**
* @brief Returns the value a hardware counter from the sampler to be used
* in the expression evaluator
Expand Down

0 comments on commit 378e7bd

Please sign in to comment.