From b01c28c48d842a943c445593e5744ffa105a8482 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 29 Jun 2022 20:05:58 -0300 Subject: [PATCH] Add missing override modifier --- src/app/script/events_class.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/script/events_class.cpp b/src/app/script/events_class.cpp index 01c26b803..e070d61e9 100644 --- a/src/app/script/events_class.cpp +++ b/src/app/script/events_class.cpp @@ -129,7 +129,7 @@ public: AppEvents() { } - EventType eventType(const char* eventName) const { + EventType eventType(const char* eventName) const override { if (std::strcmp(eventName, "sitechange") == 0) return SiteChange; else if (std::strcmp(eventName, "fgcolorchange") == 0) @@ -209,7 +209,7 @@ public: } } - EventType eventType(const char* eventName) const { + EventType eventType(const char* eventName) const override { if (std::strcmp(eventName, "change") == 0) return Change; else if (std::strcmp(eventName, "filenamechange") == 0)