Add missing override modifier

This commit is contained in:
David Capello 2022-06-29 20:05:58 -03:00
parent 7aa90db770
commit b01c28c48d

View File

@ -129,7 +129,7 @@ public:
AppEvents() { AppEvents() {
} }
EventType eventType(const char* eventName) const { EventType eventType(const char* eventName) const override {
if (std::strcmp(eventName, "sitechange") == 0) if (std::strcmp(eventName, "sitechange") == 0)
return SiteChange; return SiteChange;
else if (std::strcmp(eventName, "fgcolorchange") == 0) 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) if (std::strcmp(eventName, "change") == 0)
return Change; return Change;
else if (std::strcmp(eventName, "filenamechange") == 0) else if (std::strcmp(eventName, "filenamechange") == 0)