diff layer/SpectrumLayer.h @ 1406:a18e78b9c78b fix-static-analysis

Use override throughout
author Chris Cannam
date Mon, 26 Nov 2018 13:52:27 +0000
parents 10e768adaee5
children 696e569ff21b
line wrap: on
line diff
--- a/layer/SpectrumLayer.h	Thu Nov 22 14:55:38 2018 +0000
+++ b/layer/SpectrumLayer.h	Mon Nov 26 13:52:27 2018 +0000
@@ -101,7 +101,7 @@
     void setShowPeaks(bool);
     bool getShowPeaks() const { return m_showPeaks; }
 
-    virtual bool needsTextLabelHeight() const { return true; }
+    bool needsTextLabelHeight() const override { return true; }
 
     virtual void toXml(QTextStream &stream, QString indent = "",
                        QString extraAttributes = "") const override;