summaryrefslogtreecommitdiff
path: root/src/fs/AllocatedPath.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/AllocatedPath.hxx')
-rw-r--r--src/fs/AllocatedPath.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/AllocatedPath.hxx b/src/fs/AllocatedPath.hxx
index 4496981d7..58e12862d 100644
--- a/src/fs/AllocatedPath.hxx
+++ b/src/fs/AllocatedPath.hxx
@@ -249,7 +249,9 @@ public:
* nullptr on mismatch.
*/
gcc_pure
- const char *Relative(const char *other_fs) const;
+ const char *Relative(const char *other_fs) const {
+ return PathTraitsFS::Relative(c_str(), other_fs);
+ }
/**
* Chop trailing directory separators.