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/widgets/toolbox.cpp | |
| 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 '')
| -rw-r--r-- | src/widgets/toolbox.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 58ea6c116..c340e5291 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -258,17 +258,17 @@ class VerbAction : public Gtk::Action { public: static Glib::RefPtr<VerbAction> create(Inkscape::Verb* verb, Inkscape::Verb* verb2, Inkscape::UI::View::View *view); - virtual ~VerbAction(); + ~VerbAction() override; virtual void set_active(bool active = true); protected: - virtual Gtk::Widget* create_menu_item_vfunc(); - virtual Gtk::Widget* create_tool_item_vfunc(); + Gtk::Widget* create_menu_item_vfunc() override; + Gtk::Widget* create_tool_item_vfunc() override; - virtual void connect_proxy_vfunc(Gtk::Widget* proxy); - virtual void disconnect_proxy_vfunc(Gtk::Widget* proxy); + void connect_proxy_vfunc(Gtk::Widget* proxy) override; + void disconnect_proxy_vfunc(Gtk::Widget* proxy) override; - virtual void on_activate(); + void on_activate() override; private: Inkscape::Verb* verb; |
