TagBuilder: make conversion constructors "explicit"

This commit is contained in:
Max Kellermann 2013-12-03 12:53:13 +01:00
parent d99bdca094
commit 5e0c272061

View File

@ -64,8 +64,8 @@ public:
TagBuilder(const TagBuilder &other) = delete;
TagBuilder(const Tag &other);
TagBuilder(Tag &&other);
explicit TagBuilder(const Tag &other);
explicit TagBuilder(Tag &&other);
TagBuilder &operator=(const TagBuilder &other);