mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 19:06:39 +00:00
Add missing override modifier
This commit is contained in:
parent
7aa90db770
commit
b01c28c48d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user