From: Uwe Hermann Date: Sun, 2 Nov 2014 20:18:28 +0000 (+0100) Subject: Use for std::abs() on integer datatypes. X-Git-Tag: pulseview-0.3.0~525 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ff30bdbafa900626fdcdf5e282d6eb56e4d4b68a;p=pulseview.git Use for std::abs() on integer datatypes. The #include needs to be used (only) for floating point types. --- diff --git a/pv/widgets/sweeptimingwidget.cpp b/pv/widgets/sweeptimingwidget.cpp index 685523ab..cb543b12 100644 --- a/pv/widgets/sweeptimingwidget.cpp +++ b/pv/widgets/sweeptimingwidget.cpp @@ -20,7 +20,7 @@ #include "sweeptimingwidget.h" -#include +#include #include