diff data/model/WaveFileModel.h @ 1580:c01cbe41aeb5 fix-static-analysis

Use override throughout
author Chris Cannam
date Mon, 26 Nov 2018 13:48:45 +0000
parents 22fe34dd7f26
children 78fe29adfd16
line wrap: on
line diff
--- a/data/model/WaveFileModel.h	Thu Nov 22 14:55:18 2018 +0000
+++ b/data/model/WaveFileModel.h	Mon Nov 26 13:48:45 2018 +0000
@@ -28,16 +28,16 @@
     virtual ~WaveFileModel();
 
     virtual sv_frame_t getFrameCount() const = 0;
-    virtual int getChannelCount() const = 0;
-    virtual sv_samplerate_t getSampleRate() const = 0;
-    virtual sv_samplerate_t getNativeRate() const = 0;
+    int getChannelCount() const override = 0;
+    sv_samplerate_t getSampleRate() const override = 0;
+    sv_samplerate_t getNativeRate() const override = 0;
 
-    virtual QString getTitle() const = 0;
-    virtual QString getMaker() const = 0;
-    virtual QString getLocation() const = 0;
+    QString getTitle() const override = 0;
+    QString getMaker() const override = 0;
+    QString getLocation() const override = 0;
 
-    virtual sv_frame_t getStartFrame() const = 0;
-    virtual sv_frame_t getEndFrame() const = 0;
+    sv_frame_t getStartFrame() const override = 0;
+    sv_frame_t getEndFrame() const override = 0;
 
     virtual void setStartFrame(sv_frame_t startFrame) = 0;