Blame SOURCES/0866-Pull-isnan-into-std-namespace-include-cmath-not-math.patch

714cf1
From 034ff1bfd7c97acd793132c8a50c099af656fb15 Mon Sep 17 00:00:00 2001
714cf1
From: Matthias Andree <matthias.andree@gmx.de>
714cf1
Date: Sat, 29 Oct 2016 13:38:27 +0200
714cf1
Subject: [PATCH 0866/1096] Pull isnan() into std:: namespace, #include
714cf1
 <cmath>, not <math.h>.
714cf1
714cf1
---
714cf1
 tests/test_modifier.cpp | 2 +-
714cf1
 1 file changed, 1 insertion(+), 1 deletion(-)
714cf1
714cf1
diff --git a/tests/test_modifier.cpp b/tests/test_modifier.cpp
714cf1
index 9c6def6..f087917 100644
714cf1
--- a/tests/test_modifier.cpp
714cf1
+++ b/tests/test_modifier.cpp
714cf1
@@ -3,7 +3,7 @@
714cf1
 #ifdef _MSC_VER
714cf1
 #define _USE_MATH_DEFINES
714cf1
 #endif
714cf1
-#include <math.h>
714cf1
+#include <cmath>
714cf1
 #include "lensfun.h"
714cf1
 
714cf1
 typedef struct {
714cf1
-- 
714cf1
1.8.3.1
714cf1