mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +00:00
fix missing overrides as shown by warnings mentioned in issue #955
This commit is contained in:
parent
c1a2cbebde
commit
7d80b16854
@ -40,9 +40,9 @@ using namespace base;
|
|||||||
|
|
||||||
class WebPFormat : public FileFormat {
|
class WebPFormat : public FileFormat {
|
||||||
|
|
||||||
const char* onGetName() const { return "webp"; }
|
const char* onGetName() const override { return "webp"; }
|
||||||
const char* onGetExtensions() const { return "webp"; }
|
const char* onGetExtensions() const override { return "webp"; }
|
||||||
int onGetFlags() const {
|
int onGetFlags() const override {
|
||||||
return
|
return
|
||||||
FILE_SUPPORT_LOAD |
|
FILE_SUPPORT_LOAD |
|
||||||
FILE_SUPPORT_SAVE |
|
FILE_SUPPORT_SAVE |
|
||||||
|
@ -25,7 +25,7 @@ namespace she {
|
|||||||
return m_text;
|
return m_text;
|
||||||
}
|
}
|
||||||
|
|
||||||
void setText(DisplayHandle, const std::string& text) {
|
void setText(DisplayHandle, const std::string& text) override {
|
||||||
m_text = text;
|
m_text = text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user