px4_param.h: add override to _DEFINE_PARAMETER_UPDATE_METHOD_CUSTOM_PARENT

This commit is contained in:
Beat Küng 2018-03-27 13:16:36 +02:00
parent 5eb7d8ec5f
commit b97d432844

View File

@ -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__) \
} \