You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
649 B
27 lines
649 B
![]()
5 years ago
|
From 034ff1bfd7c97acd793132c8a50c099af656fb15 Mon Sep 17 00:00:00 2001
|
||
|
From: Matthias Andree <matthias.andree@gmx.de>
|
||
|
Date: Sat, 29 Oct 2016 13:38:27 +0200
|
||
|
Subject: [PATCH 0866/1096] Pull isnan() into std:: namespace, #include
|
||
|
<cmath>, not <math.h>.
|
||
|
|
||
|
---
|
||
|
tests/test_modifier.cpp | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/tests/test_modifier.cpp b/tests/test_modifier.cpp
|
||
|
index 9c6def6..f087917 100644
|
||
|
--- a/tests/test_modifier.cpp
|
||
|
+++ b/tests/test_modifier.cpp
|
||
|
@@ -3,7 +3,7 @@
|
||
|
#ifdef _MSC_VER
|
||
|
#define _USE_MATH_DEFINES
|
||
|
#endif
|
||
|
-#include <math.h>
|
||
|
+#include <cmath>
|
||
|
#include "lensfun.h"
|
||
|
|
||
|
typedef struct {
|
||
|
--
|
||
|
1.8.3.1
|
||
|
|