Cycles: Use explicit qualifier for single-argument constructors
[blender.git] / intern / cycles / bvh / bvh_node.h
index 44f5518229befa65a52330ac8c6deaaeb1b67627..d476fb917edaa28c6f989a5f7c91a3b9633698b9 100644 (file)
@@ -75,7 +75,7 @@ public:
                        m_visibility = 0; /* happens on build cancel */
        }
 
-       InnerNode(const BoundBox& bounds)
+       explicit InnerNode(const BoundBox& bounds)
        {
                m_bounds = bounds;
                m_visibility = 0;