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/xml/composite-node-observer.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/xml/composite-node-observer.h')
| -rw-r--r-- | src/xml/composite-node-observer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xml/composite-node-observer.h b/src/xml/composite-node-observer.h index 1004617bf..c941acee8 100644 --- a/src/xml/composite-node-observer.h +++ b/src/xml/composite-node-observer.h @@ -67,20 +67,20 @@ public: */ void removeListenerByData(void *data); - void notifyChildAdded(Node &node, Node &child, Node *prev); + void notifyChildAdded(Node &node, Node &child, Node *prev) override; - void notifyChildRemoved(Node &node, Node &child, Node *prev); + void notifyChildRemoved(Node &node, Node &child, Node *prev) override; void notifyChildOrderChanged(Node &node, Node &child, - Node *old_prev, Node *new_prev); + Node *old_prev, Node *new_prev) override; void notifyContentChanged(Node &node, Util::ptr_shared old_content, - Util::ptr_shared new_content); + Util::ptr_shared new_content) override; void notifyAttributeChanged(Node &node, GQuark name, Util::ptr_shared old_value, - Util::ptr_shared new_value); + Util::ptr_shared new_value) override; private: unsigned _iterating; |
