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/effect.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/effect.h')
| -rw-r--r-- | src/extension/effect.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extension/effect.h b/src/extension/effect.h index 0e28b06ea..a0f478978 100644 --- a/src/extension/effect.h +++ b/src/extension/effect.h @@ -58,7 +58,7 @@ class Effect : public Extension { /** \brief Name with elipses if that makes sense */ gchar * _elip_name; protected: - virtual SPAction * make_action (Inkscape::ActionContext const & context); + SPAction * make_action (Inkscape::ActionContext const & context) override; public: /** \brief Use the Verb initializer with the same parameters. */ EffectVerb(gchar const * id, @@ -80,7 +80,7 @@ class Effect : public Extension { } /** \brief Destructor */ - ~EffectVerb() { + ~EffectVerb() override { if (_elip_name != NULL) { g_free(_elip_name); } @@ -106,8 +106,8 @@ class Effect : public Extension { public: Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation * in_imp); - virtual ~Effect (void); - virtual bool check (void); + ~Effect (void) override; + bool check (void) override; bool prefs (Inkscape::UI::View::View * doc); void effect (Inkscape::UI::View::View * doc); /** \brief Accessor function for a pointer to the verb */ |
