Commit dab7348d authored by Denis Krjuchkov's avatar Denis Krjuchkov

fs/Traits.hxx: add PathTraitsUTF8::GetLength for consistency

parent 378e8a62
......@@ -140,6 +140,11 @@ struct PathTraitsUTF8 {
return IsSeparator(*p);
}
gcc_pure gcc_nonnull_all
static size_t GetLength(const_pointer p) {
return strlen(p);
}
/**
* Determine the "base" file name of the given UTF-8 path.
* The return value points inside the given string.
......
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