projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
726ea66
)
Use <cstdlib> for std::abs() on integer datatypes.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 2 Nov 2014 20:18:28 +0000
(21:18 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
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
patch
|
blob
|
history
diff --git
a/pv/widgets/sweeptimingwidget.cpp
b/pv/widgets/sweeptimingwidget.cpp
index 685523ab3039c19e770baeff13c9c6c15b92926c..cb543b1235796f3906a34638c052e7e5b891c1ee 100644
(file)
--- a/
pv/widgets/sweeptimingwidget.cpp
+++ b/
pv/widgets/sweeptimingwidget.cpp
@@
-20,7
+20,7
@@
#include "sweeptimingwidget.h"
-#include <c
math
>
+#include <c
stdlib
>
#include <vector>