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:
David Capello 2016-02-26 18:58:04 -03:00
commit 1512e7af52
2 changed files with 4 additions and 4 deletions

View File

@ -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 |

View File

@ -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;
}