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/object/box3d-side.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/object/box3d-side.h')
| -rw-r--r-- | src/object/box3d-side.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/object/box3d-side.h b/src/object/box3d-side.h index 29f17b8f3..bd8b33e3a 100644 --- a/src/object/box3d-side.h +++ b/src/object/box3d-side.h @@ -25,7 +25,7 @@ class Persp3D; class Box3DSide : public SPPolygon { public: Box3DSide(); - virtual ~Box3DSide(); + ~Box3DSide() override; Box3D::Axis dir1; Box3D::Axis dir2; @@ -33,12 +33,12 @@ public: int getFaceId(); static Box3DSide * createBox3DSide(SPBox3D *box); - virtual void build(SPDocument* doc, Inkscape::XML::Node* repr); - virtual void set(unsigned int key, char const* value); - virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags); - virtual void update(SPCtx *ctx, unsigned int flags); + void build(SPDocument* doc, Inkscape::XML::Node* repr) override; + void set(unsigned int key, char const* value) override; + Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags) override; + void update(SPCtx *ctx, unsigned int flags) override; - virtual void set_shape(); + void set_shape() override; }; void box3d_side_position_set (Box3DSide *side); // FIXME: Replace this by box3d_side_set_shape?? |
