From cdd0ccc67a63e8e4d108cb817f856a227a994242 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 28 Feb 2015 23:17:17 +0100 Subject: fs/Path: rename RelativeFS() to Relative() --- src/fs/AllocatedPath.cxx | 2 +- src/fs/AllocatedPath.hxx | 2 +- src/fs/Path.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fs') diff --git a/src/fs/AllocatedPath.cxx b/src/fs/AllocatedPath.cxx index 2d51b6285..51a058ffc 100644 --- a/src/fs/AllocatedPath.cxx +++ b/src/fs/AllocatedPath.cxx @@ -62,7 +62,7 @@ AllocatedPath::ToUTF8() const } const char * -AllocatedPath::RelativeFS(const char *other_fs) const +AllocatedPath::Relative(const char *other_fs) const { const size_t l = length(); if (memcmp(data(), other_fs, l) != 0) diff --git a/src/fs/AllocatedPath.hxx b/src/fs/AllocatedPath.hxx index 1f5733244..4496981d7 100644 --- a/src/fs/AllocatedPath.hxx +++ b/src/fs/AllocatedPath.hxx @@ -249,7 +249,7 @@ public: * nullptr on mismatch. */ gcc_pure - const char *RelativeFS(const char *other_fs) const; + const char *Relative(const char *other_fs) const; /** * Chop trailing directory separators. diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx index bf6d1e3ce..ef663bf0b 100644 --- a/src/fs/Path.hxx +++ b/src/fs/Path.hxx @@ -153,7 +153,7 @@ public: * nullptr on mismatch. */ gcc_pure - const_pointer RelativeFS(const_pointer other_fs) const { + const_pointer Relative(const_pointer other_fs) const { return PathTraitsFS::Relative(value, other_fs); } -- cgit v1.2.3