summaryrefslogtreecommitdiffstats
path: root/src/composite-undo-stack-observer.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-14 22:45:10 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2018-06-18 12:27:00 +0000
commit7654fc11a6442e6ee2a463d6dee6458c0f53768f (patch)
tree7eb16a57b879747842bb0401dfee7fb47cd16f95 /src/composite-undo-stack-observer.h
parentFix build issue caused by f09962028d017896279b717a6621a4de772d1b4f on GTK+ <3... (diff)
downloadinkscape-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.h12
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