aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-02-28 23:17:17 +0100
committerMax Kellermann <max@duempel.org>2015-02-28 23:19:34 +0100
commitcdd0ccc67a63e8e4d108cb817f856a227a994242 (patch)
treeae072332896766237b56384b5e58b581651aeb53 /src/fs
parenta918821868228d4f49d0e96c58bc8a6a3b4a91e0 (diff)
downloadmpd-cdd0ccc67a63e8e4d108cb817f856a227a994242.tar.gz
mpd-cdd0ccc67a63e8e4d108cb817f856a227a994242.tar.xz
mpd-cdd0ccc67a63e8e4d108cb817f856a227a994242.zip
fs/Path: rename RelativeFS() to Relative()
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/AllocatedPath.cxx2
-rw-r--r--src/fs/AllocatedPath.hxx2
-rw-r--r--src/fs/Path.hxx2
3 files changed, 3 insertions, 3 deletions
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);
}