aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Path.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fs/Path.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx
index ef663bf0b..56459723d 100644
--- a/src/fs/Path.hxx
+++ b/src/fs/Path.hxx
@@ -153,8 +153,8 @@ public:
* nullptr on mismatch.
*/
gcc_pure
- const_pointer Relative(const_pointer other_fs) const {
- return PathTraitsFS::Relative(value, other_fs);
+ const_pointer Relative(Path other_fs) const {
+ return PathTraitsFS::Relative(c_str(), other_fs.c_str());
}
gcc_pure