mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
px4_param.h: add override to _DEFINE_PARAMETER_UPDATE_METHOD_CUSTOM_PARENT
This commit is contained in:
parent
5eb7d8ec5f
commit
b97d432844
@ -82,7 +82,7 @@ inline static param_t param_handle(px4::params p)
|
||||
|
||||
#define _DEFINE_PARAMETER_UPDATE_METHOD_CUSTOM_PARENT(parent_class, ...) \
|
||||
protected: \
|
||||
void updateParamsImpl() { \
|
||||
void updateParamsImpl() override { \
|
||||
parent_class::updateParamsImpl(); \
|
||||
APPLY_ALL(_CALL_UPDATE, __VA_ARGS__) \
|
||||
} \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user