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/xml/composite-node-observer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/xml/composite-node-observer.h') 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; -- cgit v1.2.3