diff layer/WaveformLayer.cpp @ 1405:4c359c2b220c fix-static-analysis

Fixes from clang modernize-use-override
author Chris Cannam
date Thu, 22 Nov 2018 14:55:38 +0000
parents 28075cc658c9
children c8a6fd3f9dff
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp	Fri Nov 16 09:01:38 2018 +0000
+++ b/layer/WaveformLayer.cpp	Thu Nov 22 14:55:38 2018 +0000
@@ -919,9 +919,9 @@
 
         case MeterScale:
             if (!mergingChannels) {
-                double r0 = fabs(AudioLevel::multiplier_to_preview
+                double r0 = std::abs(AudioLevel::multiplier_to_preview
                                  (range.min() * gain, m));
-                double r1 = fabs(AudioLevel::multiplier_to_preview
+                double r1 = std::abs(AudioLevel::multiplier_to_preview
                                  (range.max() * gain, m));
                 rangeTop = std::max(r0, r1);
                 meanTop = std::min(r0, r1);