From bc6eca2115d8d333eed61d23a01958926bbd7a9c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 1 Feb 2020 13:59:55 +0100 Subject: *: add `explicit` --- src/db/plugins/upnp/Directory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db') 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) -- cgit v1.2.3