fs/AllocatedPath: make constructor "explicit"

This commit is contained in:
Max Kellermann 2016-04-21 14:20:56 +02:00
parent c98330909a
commit 11ea72e240

View File

@ -46,7 +46,7 @@ class AllocatedPath {
string value;
AllocatedPath(std::nullptr_t):value() {}
AllocatedPath(const_pointer_type _value):value(_value) {}
explicit AllocatedPath(const_pointer_type _value):value(_value) {}
AllocatedPath(string &&_value):value(std::move(_value)) {}