diff audio/PlaySpeedRangeMapper.h @ 634:163573a73ebe fix-static-analysis

Use override throughout
author Chris Cannam
date Mon, 26 Nov 2018 13:53:26 +0000
parents 56acd9368532
children 26a0cb8335e3
line wrap: on
line diff
--- a/audio/PlaySpeedRangeMapper.h	Thu Nov 22 14:55:43 2018 +0000
+++ b/audio/PlaySpeedRangeMapper.h	Mon Nov 26 13:53:26 2018 +0000
@@ -26,11 +26,11 @@
     int getMinPosition() const { return m_minpos; }
     int getMaxPosition() const { return m_maxpos; }
     
-    virtual int getPositionForValue(double value) const;
-    virtual int getPositionForValueUnclamped(double value) const;
+    int getPositionForValue(double value) const override;
+    int getPositionForValueUnclamped(double value) const override;
 
-    virtual double getValueForPosition(int position) const;
-    virtual double getValueForPositionUnclamped(int position) const;
+    double getValueForPosition(int position) const override;
+    double getValueForPositionUnclamped(int position) const override;
 
     int getPositionForFactor(double factor) const;
     double getValueForFactor(double factor) const;
@@ -38,7 +38,7 @@
     double getFactorForPosition(int position) const;
     double getFactorForValue(double value) const;
 
-    virtual QString getUnit() const;
+    QString getUnit() const override;
     
 protected:
     int m_minpos;