diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-11 17:50:10 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-11 17:51:14 +0300 |
commit | 92774ff792a6c474df2a40c13204da4975de0c09 (patch) | |
tree | 3c709f8f3126449bcc2c50ae51f89442d01e34d0 /intern/cycles/render/svm.h | |
parent | d57f416e47f54241dea0892f3b064afbe1b8a899 (diff) |
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.
Diffstat (limited to 'intern/cycles/render/svm.h')
-rw-r--r-- | intern/cycles/render/svm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/svm.h b/intern/cycles/render/svm.h index f4777dee89d..5ff98ac6e91 100644 --- a/intern/cycles/render/svm.h +++ b/intern/cycles/render/svm.h @@ -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. ** */ |