summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-02-01 13:59:55 +0100
committerMax Kellermann <max@musicpd.org>2020-02-01 14:02:43 +0100
commitbc6eca2115d8d333eed61d23a01958926bbd7a9c (patch)
treef817a3c9779566c18157d01595db293dd63a70e1 /src/db
parent72ec641f0d5a33de882a05a53e2f3a3b74226eb3 (diff)
*: add `explicit`
Diffstat (limited to 'src/db')
-rw-r--r--src/db/plugins/upnp/Directory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/plugins/upnp/Directory.cxx b/src/db/plugins/upnp/Directory.cxx
index 4678bee00..de344cba3 100644
--- a/src/db/plugins/upnp/Directory.cxx
+++ b/src/db/plugins/upnp/Directory.cxx
@@ -111,7 +111,7 @@ class UPnPDirParser final : public CommonExpatParser {
TagBuilder tag;
public:
- UPnPDirParser(UPnPDirContent &_directory)
+ explicit UPnPDirParser(UPnPDirContent &_directory)
:directory(_directory),
state(NONE),
tag_type(TAG_NUM_OF_ITEM_TYPES)