diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-14 22:45:10 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-06-18 12:27:00 +0000 |
| commit | 7654fc11a6442e6ee2a463d6dee6458c0f53768f (patch) | |
| tree | 7eb16a57b879747842bb0401dfee7fb47cd16f95 /src/extension/input.h | |
| parent | Fix build issue caused by f09962028d017896279b717a6621a4de772d1b4f on GTK+ <3... (diff) | |
| download | inkscape-7654fc11a6442e6ee2a463d6dee6458c0f53768f.tar.gz inkscape-7654fc11a6442e6ee2a463d6dee6458c0f53768f.zip | |
Run clang-tidy’s modernize-use-override pass.
This adds the override specifier on all methods which override a virtual
method, whether they were already virtual or missing this specifier.
Diffstat (limited to 'src/extension/input.h')
| -rw-r--r-- | src/extension/input.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/extension/input.h b/src/extension/input.h index 2a0a177a0..de3d9c0f8 100644 --- a/src/extension/input.h +++ b/src/extension/input.h @@ -31,22 +31,22 @@ public: /* this is a hack for this release, this will be private shortly */ public: struct open_failed : public std::exception { - virtual ~open_failed() throw() {} - const char *what() const throw() { return "Open failed"; } + ~open_failed() throw() override {} + const char *what() const throw() override { return "Open failed"; } }; struct no_extension_found : public std::exception { - virtual ~no_extension_found() throw() {} - const char *what() const throw() { return "No suitable input extension found"; } + ~no_extension_found() throw() override {} + const char *what() const throw() override { return "No suitable input extension found"; } }; struct open_cancelled : public std::exception { - virtual ~open_cancelled() throw() {} - const char *what() const throw() { return "Open was cancelled"; } + ~open_cancelled() throw() override {} + const char *what() const throw() override { return "Open was cancelled"; } }; Input (Inkscape::XML::Node * in_repr, Implementation::Implementation * in_imp); - virtual ~Input (void); - virtual bool check (void); + ~Input (void) override; + bool check (void) override; SPDocument * open (gchar const *uri); gchar * get_mimetype (void); gchar * get_extension (void); |
