File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -47,3 +47,24 @@ diff -ruN ParaView-5.6.3.orig/VTK/CMake/VTKGenerateExportHeader.cmake ParaView-5
47
47
# gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the
48
48
# patch level, handle this here:
49
49
if(NOT _gcc_version)
50
+ diff -ruN ParaView-5.6.3.orig/VTK/Common/Core/vtkMath.h ParaView-5.6.3/VTK/Common/Core/vtkMath.h
51
+ --- ParaView-5.6.3.orig/VTK/Common/Core/vtkMath.h 2019-10-03 02:44:52.000000000 +0100
52
+ +++ ParaView-5.6.3/VTK/Common/Core/vtkMath.h 2021-11-30 18:57:53.932760379 +0000
53
+ @@ -1510,9 +1510,6 @@
54
+ {
55
+ assert("pre: valid_range" && min<=max);
56
+
57
+ - #if __cplusplus >= 201703L
58
+ - return std::clamp(value, min, max);
59
+ - #else
60
+ if (value < min)
61
+ {
62
+ return min;
63
+ @@ -1524,7 +1521,6 @@
64
+ }
65
+
66
+ return value;
67
+ - #endif
68
+ }
69
+
70
+ //----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments