fs/Path: pass Path to Relative()
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user