From 274a95b28e992d02f4613b36c877ed4996a1e45f Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 8 Aug 2023 19:43:40 +0200 Subject: [PATCH] Fixed some Clang compiler warnings --- es-core/src/components/ComponentList.h | 2 +- es-core/src/components/TextComponent.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/es-core/src/components/ComponentList.h b/es-core/src/components/ComponentList.h index 53c674096..489f7143d 100644 --- a/es-core/src/components/ComponentList.h +++ b/es-core/src/components/ComponentList.h @@ -99,7 +99,7 @@ public: } } - void setHorizontalScrolling(bool state) + void setHorizontalScrolling(bool state) override { for (auto& entry : mEntries) { for (auto& element : entry.data.elements) diff --git a/es-core/src/components/TextComponent.h b/es-core/src/components/TextComponent.h index 2744d18f2..1cbde18c4 100644 --- a/es-core/src/components/TextComponent.h +++ b/es-core/src/components/TextComponent.h @@ -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;