diff options
author | Max Kellermann <max@duempel.org> | 2015-03-05 08:45:55 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-03-05 10:07:07 +0100 |
commit | 5c5ea8a2542412aa02c6ac96d7f659760657644b (patch) | |
tree | 95786def6822641b688da304c1ee125c3c5f44fe /src | |
parent | 5222c684d3000e354579f1b991f621e4c42f8037 (diff) | |
download | mpd-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.cxx | 2 | ||||
-rw-r--r-- | src/fs/Path.hxx | 2 |
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 |