From 5c5ea8a2542412aa02c6ac96d7f659760657644b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Mar 2015 08:45:55 +0100 Subject: fs/Path: use the "const_pointer" typedef --- src/fs/Path.cxx | 2 +- 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 -- cgit v1.2.3