Fix clang-tidy modernize-use-override findings

This commit is contained in:
Tim Wojtulewicz 2025-05-16 15:39:56 -07:00
parent ee319fc1c5
commit 2f0e3a5e23
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ Checks: [-*,
modernize-use-default-member-init,
modernize-use-emplace,
modernize-use-nullptr,
modernize-use-override,
# Enable a very limited number of the cppcoreguidelines checkers.
# See the notes for some of the rest of them below.

View file

@ -64,7 +64,7 @@ using DelayInfoPtr = std::shared_ptr<DelayInfo>;
class LogDelayTokenVal : public OpaqueVal {
public:
explicit LogDelayTokenVal(DelayTokenType token) : OpaqueVal(zeek::detail::log_delay_token_type), token(token) {}
virtual ~LogDelayTokenVal() = default;
~LogDelayTokenVal() override {};
ValPtr DoClone(CloneState* state) override;