[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    [PATCH 1/4] Include cmath instead of math.h
From:       alvinhochun+krita () gmail ! com
Date:       2016-09-24 19:33:16
Message-ID: 1474745599-8572-2-git-send-email-alvinhochun+krita () gmail ! com
[Download RAW message or body]

From: Alvin Wong <alvinhochun@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic