aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-05 08:45:55 +0100
committerMax Kellermann <max@duempel.org>2015-03-05 10:07:07 +0100
commit5c5ea8a2542412aa02c6ac96d7f659760657644b (patch)
tree95786def6822641b688da304c1ee125c3c5f44fe /src
parent5222c684d3000e354579f1b991f621e4c42f8037 (diff)
downloadmpd-5c5ea8a2542412aa02c6ac96d7f659760657644b.tar.gz
mpd-5c5ea8a2542412aa02c6ac96d7f659760657644b.tar.xz
mpd-5c5ea8a2542412aa02c6ac96d7f659760657644b.zip
fs/Path: use the "const_pointer" typedef
Diffstat (limited to 'src')
-rw-r--r--src/fs/Path.cxx2
-rw-r--r--src/fs/Path.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/Path.cxx b/src/fs/Path.cxx
index 691284313..466d952b3 100644
--- a/src/fs/Path.cxx
+++ b/src/fs/Path.cxx
@@ -28,7 +28,7 @@ Path::ToUTF8() const
return ::PathToUTF8(c_str());
}
-const char *
+Path::const_pointer
Path::GetSuffix() const
{
return uri_get_suffix(c_str());
diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx
index 3ff7ddba2..5e78ea507 100644
--- a/src/fs/Path.hxx
+++ b/src/fs/Path.hxx
@@ -173,7 +173,7 @@ public:
}
gcc_pure
- const char *GetSuffix() const;
+ const_pointer GetSuffix() const;
};
#endif