CI: enable clang-tidy cppcoreguidelines-virtual-class-destructor (#26559)

* CI: enable clang-tidy cppcoreguidelines-virtual-class-destructor

Signed-off-by: kuralme <kuralme@protonmail.com>

* format fix

Signed-off-by: kuralme <kuralme@protonmail.com>

---------

Signed-off-by: kuralme <kuralme@protonmail.com>
This commit is contained in:
Ege Kural
2026-02-23 19:21:20 -09:00
committed by GitHub
parent a4f9786c3d
commit 207456fd35
8 changed files with 29 additions and 11 deletions
@@ -46,6 +46,8 @@ public:
bool Scheduled() { return !hrt_called(&_call); }
virtual ~ScheduledWorkItem();
/**
* Schedule next run with a delay in microseconds.
*
@@ -76,7 +78,6 @@ public:
protected:
ScheduledWorkItem(const char *name, const wq_config_t &config) : WorkItem(name, config) {}
virtual ~ScheduledWorkItem() override;
virtual void print_run_status() override;
@@ -83,13 +83,14 @@ public:
const char *ItemName() const { return _item_name; }
virtual ~WorkItem();
protected:
explicit WorkItem(const char *name, const wq_config_t &config);
explicit WorkItem(const char *name, const WorkItem &work_item);
virtual ~WorkItem();
/**
* Remove work item from the runnable queue, if it's there