Commit 11ea72e2 authored by Max Kellermann's avatar Max Kellermann

fs/AllocatedPath: make constructor "explicit"

parent c9833090
......@@ -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)) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment