mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 00:43:34 +08:00
clang-tidy: partially fix hicpp-use-override
This commit is contained in:
@@ -60,10 +60,10 @@ class LED : cdev::CDev
|
||||
{
|
||||
public:
|
||||
LED();
|
||||
virtual ~LED() = default;
|
||||
~LED() override = default;
|
||||
|
||||
virtual int init();
|
||||
virtual int ioctl(cdev::file_t *filp, int cmd, unsigned long arg);
|
||||
int init() override;
|
||||
int ioctl(cdev::file_t *filp, int cmd, unsigned long arg) override;
|
||||
};
|
||||
|
||||
LED::LED() : CDev(LED0_DEVICE_PATH)
|
||||
|
||||
Reference in New Issue
Block a user