summaryrefslogtreecommitdiffstats
path: root/src/event-log.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/event-log.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/event-log.h')
-rw-r--r--src/event-log.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/event-log.h b/src/event-log.h
index 3cbcb6d3a..8a4703554 100644
--- a/src/event-log.h
+++ b/src/event-log.h
@@ -45,7 +45,7 @@ public:
typedef Gtk::TreeModel::const_iterator const_iterator;
EventLog(SPDocument* document);
- virtual ~EventLog();
+ ~EventLog() override;
/**
* Event datatype
@@ -68,11 +68,11 @@ public:
/**
* Modifies the log's entries and the view's selection when triggered.
*/
- 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;
// Accessor functions