fs/Path: pass Path to Relative()

This commit is contained in:
Max Kellermann
2015-02-28 23:45:16 +01:00
parent a6dd998d31
commit 0e00b9009d
3 changed files with 5 additions and 5 deletions

View File

@@ -249,8 +249,8 @@ public:
* nullptr on mismatch.
*/
gcc_pure
const char *Relative(const char *other_fs) const {
return PathTraitsFS::Relative(c_str(), other_fs);
const_pointer Relative(Path other_fs) const {
return PathTraitsFS::Relative(c_str(), other_fs.c_str());
}
/**