mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 17:00:35 +08:00
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:
@@ -134,10 +134,7 @@ public:
|
||||
bool has_initialized() { return _has_initialized.load(); }
|
||||
#endif
|
||||
|
||||
private:
|
||||
SimulatorMavlink();
|
||||
|
||||
~SimulatorMavlink()
|
||||
virtual ~SimulatorMavlink()
|
||||
{
|
||||
// free perf counters
|
||||
perf_free(_perf_sim_delay);
|
||||
@@ -156,6 +153,8 @@ private:
|
||||
_instance = nullptr;
|
||||
}
|
||||
|
||||
private:
|
||||
SimulatorMavlink();
|
||||
|
||||
void check_failure_injections();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user