TagBuilder: make conversion constructors "explicit"
This commit is contained in:
parent
d99bdca094
commit
5e0c272061
@ -64,8 +64,8 @@ public:
|
|||||||
|
|
||||||
TagBuilder(const TagBuilder &other) = delete;
|
TagBuilder(const TagBuilder &other) = delete;
|
||||||
|
|
||||||
TagBuilder(const Tag &other);
|
explicit TagBuilder(const Tag &other);
|
||||||
TagBuilder(Tag &&other);
|
explicit TagBuilder(Tag &&other);
|
||||||
|
|
||||||
TagBuilder &operator=(const TagBuilder &other);
|
TagBuilder &operator=(const TagBuilder &other);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user