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/util/util_debug.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/util/util_debug.h')
-rw-r--r--intern/cycles/util/util_debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/util/util_debug.h b/intern/cycles/util/util_debug.h
index 641abcc0668..1787ff648ee 100644
--- a/intern/cycles/util/util_debug.h
+++ b/intern/cycles/util/util_debug.h
@@ -130,11 +130,11 @@ private:
#if (__cplusplus > 199711L)
public:
- DebugFlags(DebugFlags const& /*other*/) = delete;
+ explicit DebugFlags(DebugFlags const& /*other*/) = delete;
void operator=(DebugFlags const& /*other*/) = delete;
#else
private:
- DebugFlags(DebugFlags const& /*other*/);
+ explicit DebugFlags(DebugFlags const& /*other*/);
void operator=(DebugFlags const& /*other*/);
#endif
};