Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-05-11 17:50:10 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-05-11 17:51:14 +0300
commit92774ff792a6c474df2a40c13204da4975de0c09 (patch)
tree3c709f8f3126449bcc2c50ae51f89442d01e34d0 /intern/cycles/subd/subd_split.h
parentd57f416e47f54241dea0892f3b064afbe1b8a899 (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/subd/subd_split.h')
-rw-r--r--intern/cycles/subd/subd_split.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/subd/subd_split.h b/intern/cycles/subd/subd_split.h
index f04c51dedfe..bbe921f739c 100644
--- a/intern/cycles/subd/subd_split.h
+++ b/intern/cycles/subd/subd_split.h
@@ -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);