[Bf-blender-cvs] [0271952] master: Attempt to fix previous commit for non-c++11 builds

Sergey Sharybin noreply at git.blender.org
Tue Aug 9 15:48:13 CEST 2016


Commit: 02719521d2e25abcc8ffcccc086d3a651986f52f
Author: Sergey Sharybin
Date:   Tue Aug 9 15:47:51 2016 +0200
Branches: master
https://developer.blender.org/rB02719521d2e25abcc8ffcccc086d3a651986f52f

Attempt to fix previous commit for non-c++11 builds

===================================================================

M	source/blender/render/intern/raytrace/rayobject_rtbuild.cpp

===================================================================

diff --git a/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp b/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp
index 6abe106..724a809 100644
--- a/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp
+++ b/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp
@@ -42,7 +42,9 @@
 #include "BLI_math.h"
 #include "BLI_utildefines.h"
 
+#if __cplusplus >= 201103L
 using std::isfinite;
+#endif
 
 static bool selected_node(RTBuilder::Object *node)
 {




More information about the Bf-blender-cvs mailing list