[aseprite] 270/308: fix missing overrides as shown by warnings mentioned in issue #955
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:45:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 7d80b1685482ab8d39d30881ce5f26a1f1947de1
Author: Gabriel Rauter <rauter.gabriel at gmail.com>
Date: Fri Feb 26 15:37:41 2016 +0100
fix missing overrides as shown by warnings mentioned in issue #955
---
src/app/file/webp_format.cpp | 6 +++---
src/she/clipboard_simple.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/app/file/webp_format.cpp b/src/app/file/webp_format.cpp
index d52a889..6e03190 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 226606d..5e7fb9c 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;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list