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/console-output-undo-observer.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/console-output-undo-observer.h') diff --git a/src/console-output-undo-observer.h b/src/console-output-undo-observer.h index f47a86534..09eab5868 100644 --- a/src/console-output-undo-observer.h +++ b/src/console-output-undo-observer.h @@ -23,13 +23,13 @@ namespace Inkscape { class ConsoleOutputUndoObserver : public UndoStackObserver { public: ConsoleOutputUndoObserver() : UndoStackObserver() { } - virtual ~ConsoleOutputUndoObserver() { } + ~ConsoleOutputUndoObserver() override { } - void notifyUndoEvent(Event* log); - void notifyRedoEvent(Event* log); - void notifyUndoCommitEvent(Event* log); - void notifyClearUndoEvent(); - void notifyClearRedoEvent(); + void notifyUndoEvent(Event* log) override; + void notifyRedoEvent(Event* log) override; + void notifyUndoCommitEvent(Event* log) override; + void notifyClearUndoEvent() override; + void notifyClearRedoEvent() override; }; } -- cgit v1.2.3