Cycles: Use explicit qualifier for single-argument constructors
[blender.git] / intern / cycles / render / buffers.h
index 4fa1c51d821515c4f2940523d816210bdde2471a..57ffd9630f50a3a8194922b9dc6aed46d2b598bd 100644 (file)
@@ -73,7 +73,7 @@ public:
        /* random number generator state */
        device_vector<uint> rng_state;
 
-       RenderBuffers(Device *device);
+       explicit RenderBuffers(Device *device);
        ~RenderBuffers();
 
        void reset(Device *device, BufferParams& params);