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:
Reinhold Gschweicher 2022-03-13 21:58:53 +01:00
parent 21da5869c5
commit 0933d60b16

View File

@ -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();