From 7654fc11a6442e6ee2a463d6dee6458c0f53768f Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 15 Jun 2018 00:45:10 +0200 Subject: =?UTF-8?q?Run=20clang-tidy=E2=80=99s=20modernize-use-override=20p?= =?UTF-8?q?ass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier. --- src/extension/effect.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/extension/effect.h') 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 */ -- cgit v1.2.3