Commit c310941f authored by Max Kellermann's avatar Max Kellermann

fs/AllocatedPath: add conversion constructor from Path

parent c02f1467
......@@ -70,6 +70,8 @@ public:
*/
AllocatedPath(AllocatedPath &&other):value(std::move(other.value)) {}
explicit AllocatedPath(Path other):value(other.c_str()) {}
~AllocatedPath();
/**
......
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