From f4c248f406c2c260d4de28b592b208ea12ada203 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 23 Jan 2017 18:35:47 +0100 Subject: [PATCH] lib/upnp/WorkQueue: make constructor explicit --- src/lib/upnp/WorkQueue.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/upnp/WorkQueue.hxx b/src/lib/upnp/WorkQueue.hxx index c2f3ae9e1..16e41d6ce 100644 --- a/src/lib/upnp/WorkQueue.hxx +++ b/src/lib/upnp/WorkQueue.hxx @@ -68,7 +68,7 @@ public: /** Create a WorkQueue * @param _name for message printing */ - WorkQueue(const char *_name) + explicit WorkQueue(const char *_name) :name(_name) { }