Cycles: Use explicit qualifier for single-argument constructors
[blender.git] / intern / cycles / device / device_network.h
index 60ecc1d0a86a771f0f14e984791dd29a34ef1cb4..d28cfe3121f58592df92708ccce5d29ba14683ac 100644 (file)
@@ -322,7 +322,7 @@ protected:
 
 class ServerDiscovery {
 public:
-       ServerDiscovery(bool discover = false)
+       explicit ServerDiscovery(bool discover = false)
        : listen_socket(io_service), collect_servers(false)
        {
                /* setup listen socket */