Fixed some Clang compiler warnings

This commit is contained in:
Leon Styhre 2023-08-08 19:43:40 +02:00
parent 7999f89c5b
commit 274a95b28e
2 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ public:
}
}
void setHorizontalScrolling(bool state)
void setHorizontalScrolling(bool state) override
{
for (auto& entry : mEntries) {
for (auto& element : entry.data.elements)

View file

@ -92,7 +92,7 @@ public:
void setHorizontalScrollingSpeedMultiplier(float speed) { mScrollSpeedMultiplier = speed; }
void setHorizontalScrollingDelay(float delay) { mScrollDelay = delay; }
void resetComponent()
void resetComponent() override
{
mScrollOffset1 = 0;
mScrollOffset2 = 0;