Cycles: Use explicit qualifier for single-argument constructors
[blender.git] / intern / cycles / device / device_multi.cpp
index 069305e8a292cae9a0945744eb3894d8bcdb7189..6141f9af50f80a53a694b5d1af1e1f0b24e91937 100644 (file)
@@ -35,7 +35,7 @@ class MultiDevice : public Device
 {
 public:
        struct SubDevice {
-               SubDevice(Device *device_)
+               explicit SubDevice(Device *device_)
                : device(device_) {}
 
                Device *device;