diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-08-05 09:04:44 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-08-05 09:04:44 +0100 |
commit | f7701592fcf7cc3b268a331b969374cd0c796ff2 (patch) | |
tree | 8740f9eef347675b4ec2ff3359fa75de5a6f2574 | |
parent | ce1d5efc23af985d24b751dd34c18b0de2678a8e (diff) |
spline: fix std::abs(int) import missing
Submitted-by: @MrCapone in #668
v2: we need <cmath>. Include <cinttypes> for the overload.
-rw-r--r-- | spline/spline.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp index 624ab883..943c3af4 100644 --- a/spline/spline.cpp +++ b/spline/spline.cpp @@ -11,6 +11,7 @@ #include <algorithm> #include <cmath> #include <memory> +#include <cinttypes> #include <QObject> #include <QMutexLocker> |