Commit f618065f authored by Max Kellermann's avatar Max Kellermann

fs/Traits: use value_type

parent f0be48ff
......@@ -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 = '/';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment