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/trace/trace.cpp | |
| 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/trace/trace.cpp')
| -rw-r--r-- | src/trace/trace.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/trace/trace.cpp b/src/trace/trace.cpp index 5595b2544..bd52d7a57 100644 --- a/src/trace/trace.cpp +++ b/src/trace/trace.cpp @@ -164,14 +164,14 @@ public: /** * */ - virtual ~TraceSioxObserver () + ~TraceSioxObserver () override { } /** * Informs the observer how much has been completed. * Return false if the processing should be aborted. */ - virtual bool progress(float /*percentCompleted*/) + bool progress(float /*percentCompleted*/) override { //Tracer *tracer = (Tracer *)context; //## Allow the GUI to update @@ -185,7 +185,7 @@ public: * Send an error string to the Observer. Processing will * be halted. */ - virtual void error(const std::string &/*msg*/) + void error(const std::string &/*msg*/) override { //Tracer *tracer = (Tracer *)context; } |
