Cycles: Use explicit qualifier for single-argument constructors
[blender.git] / intern / cycles / subd / subd_split.h
index f04c51dedfee97f4757f0caf796a49fd5e2ca50d..bbe921f739c03c24dd2315e125ad94d4497b3f23 100644 (file)
@@ -43,7 +43,7 @@ public:
 
        SubdParams params;
 
-       DiagSplit(const SubdParams& params);
+       explicit DiagSplit(const SubdParams& params);
 
        float3 to_world(Patch *patch, float2 uv);
        int T(Patch *patch, float2 Pstart, float2 Pend);