diff --git a/src/app/file/webp_format.cpp b/src/app/file/webp_format.cpp index d52a88998..6e0319085 100644 --- a/src/app/file/webp_format.cpp +++ b/src/app/file/webp_format.cpp @@ -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 | diff --git a/src/she/clipboard_simple.h b/src/she/clipboard_simple.h index 226606d9a..5e7fb9c85 100644 --- a/src/she/clipboard_simple.h +++ b/src/she/clipboard_simple.h @@ -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; }