aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fs/Traits.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/Traits.hxx b/src/fs/Traits.hxx
index 88715c3e8..77317e1ee 100644
--- a/src/fs/Traits.hxx
+++ b/src/fs/Traits.hxx
@@ -38,8 +38,8 @@
struct PathTraitsFS {
typedef std::string string;
typedef char value_type;
- typedef char *pointer;
- typedef const char *const_pointer;
+ typedef value_type *pointer;
+ typedef const value_type *const_pointer;
#ifdef WIN32
static constexpr value_type SEPARATOR = '\\';
@@ -136,8 +136,8 @@ struct PathTraitsFS {
struct PathTraitsUTF8 {
typedef std::string string;
typedef char value_type;
- typedef char *pointer;
- typedef const char *const_pointer;
+ typedef value_type *pointer;
+ typedef const value_type *const_pointer;
static constexpr value_type SEPARATOR = '/';