diff main/main.cpp @ 2121:0f5ff52655ec fix-static-analysis

Fixes from clang modernize-use-override
author Chris Cannam
date Thu, 22 Nov 2018 14:56:18 +0000
parents ed3f1b5094ad
children 0b15f3b16776
line wrap: on
line diff
--- a/main/main.cpp	Wed Nov 21 12:30:40 2018 +0000
+++ b/main/main.cpp	Thu Nov 22 14:56:18 2018 +0000
@@ -204,7 +204,7 @@
         m_mainWindow(0)
     {
     }
-    virtual ~SVApplication() { }
+    ~SVApplication() override { }
 
     void setMainWindow(MainWindow *mw) { m_mainWindow = mw; }
     void releaseMainWindow() { m_mainWindow = 0; }
@@ -224,7 +224,7 @@
 
 protected:
     MainWindow *m_mainWindow;
-    bool event(QEvent *);
+    bool event(QEvent *) override;
 };
 
 int