Attempt to fix previous commit for non-c++11 builds
[blender.git] / source / blender / render / intern / raytrace / rayobject_rtbuild.cpp
index 6abe1061247ef0049f846c5735a61cc8165cd09b..724a809077eab6b96c6fafda4ec54189b956fca5 100644 (file)
@@ -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)
 {