Music: fix warning about overridden function
Clang warns on `OnTouchEvent()` function, which is overridden, but is missing the `override` keyword ``` In file included from InfiniTime/src/displayapp/screens/Music.cpp:18: InfiniTime/src/displayapp/screens/Music.h:43:14: warning: 'OnTouchEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool OnTouchEvent(TouchEvents event); ^ ```
This commit is contained in:
parent
21da5869c5
commit
0933d60b16
|
@ -40,7 +40,7 @@ namespace Pinetime {
|
|||
void OnObjectEvent(lv_obj_t* obj, lv_event_t event);
|
||||
|
||||
private:
|
||||
bool OnTouchEvent(TouchEvents event);
|
||||
bool OnTouchEvent(TouchEvents event) override;
|
||||
|
||||
void UpdateLength();
|
||||
|
||||
|
|
Loading…
Reference in a new issue