]> sigrok.org Git - pulseview.git/commitdiff
Use <cstdlib> for std::abs() on integer datatypes.
authorUwe Hermann <redacted>
Sun, 2 Nov 2014 20:18:28 +0000 (21:18 +0100)
committerUwe Hermann <redacted>
Sun, 2 Nov 2014 20:18:28 +0000 (21:18 +0100)
The <cmath> #include needs to be used (only) for floating
point types.

pv/widgets/sweeptimingwidget.cpp

index 685523ab3039c19e770baeff13c9c6c15b92926c..cb543b1235796f3906a34638c052e7e5b891c1ee 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "sweeptimingwidget.h"
 
-#include <cmath>
+#include <cstdlib>
 
 #include <vector>