Cycles: Use explicit qualifier for single-argument constructors
[blender.git] / intern / cycles / render / graph.h
index 6619fcaebebf7e2ebfc25d3314efdaa5f436b8ab..b1ebdbfd51da2d3ddd32ef7108b6f35dfbad6ee8 100644 (file)
@@ -177,7 +177,7 @@ public:
 
 class ShaderNode {
 public:
-       ShaderNode(const char *name);
+       explicit ShaderNode(const char *name);
        virtual ~ShaderNode();
 
        ShaderInput *input(const char *name);