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/composite-undo-stack-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/composite-undo-stack-observer.h')
| -rw-r--r-- | src/composite-undo-stack-observer.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/composite-undo-stack-observer.h b/src/composite-undo-stack-observer.h index 33afda48d..d4d2386a9 100644 --- a/src/composite-undo-stack-observer.h +++ b/src/composite-undo-stack-observer.h @@ -114,7 +114,7 @@ public: */ CompositeUndoStackObserver(); - virtual ~CompositeUndoStackObserver(); + ~CompositeUndoStackObserver() override; /** * Add an UndoStackObserver. @@ -135,24 +135,24 @@ public: * * \param log The event log generated by the undo event. */ - void notifyUndoEvent(Event* log); + void notifyUndoEvent(Event* log) override; /** * Notify all registered UndoStackObservers of a redo event. * * \param log The event log generated by the redo event. */ - void notifyRedoEvent(Event* log); + void notifyRedoEvent(Event* log) override; /** * Notify all registered UndoStackObservers of an event log being committed to the undo stack. * * \param log The event log being committed to the undo stack. */ - void notifyUndoCommitEvent(Event* log); + void notifyUndoCommitEvent(Event* log) override; - virtual void notifyClearUndoEvent(); - virtual void notifyClearRedoEvent(); + void notifyClearUndoEvent() override; + void notifyClearRedoEvent() override; private: // Remove an observer from a given list |
