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/ui/dialog/layer-properties.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/ui/dialog/layer-properties.h')
| -rw-r--r-- | src/ui/dialog/layer-properties.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ui/dialog/layer-properties.h b/src/ui/dialog/layer-properties.h index 756f7a509..0e7f8b10d 100644 --- a/src/ui/dialog/layer-properties.h +++ b/src/ui/dialog/layer-properties.h @@ -39,7 +39,7 @@ namespace Dialogs { class LayerPropertiesDialog : public Gtk::Dialog { public: LayerPropertiesDialog(); - virtual ~LayerPropertiesDialog(); + ~LayerPropertiesDialog() override; Glib::ustring getName() const { return "LayerPropertiesDialog"; } @@ -61,18 +61,18 @@ protected: }; struct Rename : public Strategy { static Rename &instance() { static Rename instance; return instance; } - void setup(LayerPropertiesDialog &dialog); - void perform(LayerPropertiesDialog &dialog); + void setup(LayerPropertiesDialog &dialog) override; + void perform(LayerPropertiesDialog &dialog) override; }; struct Create : public Strategy { static Create &instance() { static Create instance; return instance; } - void setup(LayerPropertiesDialog &dialog); - void perform(LayerPropertiesDialog &dialog); + void setup(LayerPropertiesDialog &dialog) override; + void perform(LayerPropertiesDialog &dialog) override; }; struct Move : public Strategy { static Move &instance() { static Move instance; return instance; } - void setup(LayerPropertiesDialog &dialog); - void perform(LayerPropertiesDialog &dialog); + void setup(LayerPropertiesDialog &dialog) override; + void perform(LayerPropertiesDialog &dialog) override; }; friend struct Rename; @@ -112,7 +112,7 @@ protected: add(_colLocked); add(_colLabel); } - virtual ~ModelColumns() {} + ~ModelColumns() override {} Gtk::TreeModelColumn<SPObject*> _colObject; Gtk::TreeModelColumn<Glib::ustring> _colLabel; |
