mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 03:16:58 +00:00
Merge pull request #979 from sirblackheart/fix-missing-overrides
Fix missing overrides as shown by warnings mentioned in issue #955
This commit is contained in:
commit
1512e7af52
@ -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