[PATCH 1/4] Include cmath instead of math.h
alvinhochun+krita at gmail.com
alvinhochun+krita at gmail.com
Sat Sep 24 19:33:16 UTC 2016
From: Alvin Wong <alvinhochun at gmail.com>
Include cmath instead of math.h since the code references cmath
functions with the std namespace specifier.
---
libs/ui/input/wintab/kis_tablet_support_win.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/ui/input/wintab/kis_tablet_support_win.cpp b/libs/ui/input/wintab/kis_tablet_support_win.cpp
index d11a14c..a136478 100644
--- a/libs/ui/input/wintab/kis_tablet_support_win.cpp
+++ b/libs/ui/input/wintab/kis_tablet_support_win.cpp
@@ -39,7 +39,7 @@
#include <QScreen>
#include <QWidget>
#include <QLibrary>
-#include <math.h>
+#include <cmath>
#define Q_PI M_PI
#include <input/kis_extended_modifiers_mapper.h>
--
2.5.0.windows.1
More information about the kimageshop
mailing list