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/extension/internal/pdfinput/pdf-input.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/extension/internal/pdfinput') diff --git a/src/extension/internal/pdfinput/pdf-input.h b/src/extension/internal/pdfinput/pdf-input.h index a70d40a23..ae820946d 100644 --- a/src/extension/internal/pdfinput/pdf-input.h +++ b/src/extension/internal/pdfinput/pdf-input.h @@ -63,7 +63,7 @@ class PdfImportDialog : public Gtk::Dialog { public: PdfImportDialog(PDFDoc *doc, const gchar *uri); - virtual ~PdfImportDialog(); + ~PdfImportDialog() override; bool showDialog(); int getSelectedPage(); @@ -135,9 +135,9 @@ class PdfInput: public Inkscape::Extension::Implementation::Implementation { PdfInput () { }; public: SPDocument *open( Inkscape::Extension::Input *mod, - const gchar *uri ); + const gchar *uri ) override; static void init( void ); - virtual bool wasCancelled(); + bool wasCancelled() override; private: bool _cancelled; }; -- cgit v1.2.3