Cycles: Use explicit qualifier for single-argument constructors
Almost in all cases we want such constructors to be explicit, there are exceptions but only in few places.
This commit is contained in:
@@ -150,7 +150,7 @@ protected:
|
||||
|
||||
/* Global state of the compiler accessible from the compilation routines. */
|
||||
struct CompilerState {
|
||||
CompilerState(ShaderGraph *graph);
|
||||
explicit CompilerState(ShaderGraph *graph);
|
||||
|
||||
/* ** Global state, used by various compilation steps. ** */
|
||||
|
||||
|
Reference in New Issue
Block a user