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:
Sergey Sharybin
2016-05-11 16:50:10 +02:00
parent d57f416e47
commit 92774ff792
20 changed files with 30 additions and 30 deletions

View File

@@ -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. ** */