fs/AllocatedPath: add conversion constructor from Path
This commit is contained in:
parent
c02f146791
commit
c310941f69
@ -70,6 +70,8 @@ public:
|
||||
*/
|
||||
AllocatedPath(AllocatedPath &&other):value(std::move(other.value)) {}
|
||||
|
||||
explicit AllocatedPath(Path other):value(other.c_str()) {}
|
||||
|
||||
~AllocatedPath();
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user