aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Traits.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/Traits.cxx')
-rw-r--r--src/fs/Traits.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/Traits.cxx b/src/fs/Traits.cxx
index 3bbc67c5b..47feda25b 100644
--- a/src/fs/Traits.cxx
+++ b/src/fs/Traits.cxx
@@ -47,8 +47,8 @@ PathTraitsFS::Build(PathTraitsFS::const_pointer a, size_t a_size,
return result;
}
-const char *
-PathTraitsUTF8::GetBase(const char *p)
+PathTraitsUTF8::const_pointer
+PathTraitsUTF8::GetBase(PathTraitsUTF8::const_pointer p)
{
assert(p != nullptr);
@@ -58,8 +58,8 @@ PathTraitsUTF8::GetBase(const char *p)
: p;
}
-std::string
-PathTraitsUTF8::GetParent(const char *p)
+PathTraitsUTF8::string
+PathTraitsUTF8::GetParent(PathTraitsUTF8::const_pointer p)
{
assert(p != nullptr);