mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +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 {
|
||||
|
||||
const char* onGetName() const { return "webp"; }
|
||||
const char* onGetExtensions() const { return "webp"; }
|
||||
int onGetFlags() const {
|
||||
const char* onGetName() const override { return "webp"; }
|
||||
const char* onGetExtensions() const override { return "webp"; }
|
||||
int onGetFlags() const override {
|
||||
return
|
||||
FILE_SUPPORT_LOAD |
|
||||
FILE_SUPPORT_SAVE |
|
||||
|
@ -25,7 +25,7 @@ namespace she {
|
||||
return m_text;
|
||||
}
|
||||
|
||||
void setText(DisplayHandle, const std::string& text) {
|
||||
void setText(DisplayHandle, const std::string& text) override {
|
||||
m_text = text;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user