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
1 changed files with 2 additions and 0 deletions

View File

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