fs/AllocatedPath: add conversion constructor from Path

This commit is contained in:
Max Kellermann 2014-01-30 23:36:53 +01:00
parent c02f146791
commit c310941f69

View File

@ -70,6 +70,8 @@ public:
*/
AllocatedPath(AllocatedPath &&other):value(std::move(other.value)) {}
explicit AllocatedPath(Path other):value(other.c_str()) {}
~AllocatedPath();
/**