fs/AllocatedPath: make constructor "explicit"
This commit is contained in:
parent
c98330909a
commit
11ea72e240
@ -46,7 +46,7 @@ class AllocatedPath {
|
|||||||
string value;
|
string value;
|
||||||
|
|
||||||
AllocatedPath(std::nullptr_t):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)) {}
|
AllocatedPath(string &&_value):value(std::move(_value)) {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user