Commit 7a8f96b1 authored by Max Kellermann's avatar Max Kellermann

FileCommands: use PathTraitsFS typedefs

parent f4f21f46
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
gcc_pure gcc_pure
static bool static bool
SkipNameFS(const char *name_fs) SkipNameFS(PathTraitsFS::const_pointer name_fs)
{ {
return name_fs[0] == '.' && return name_fs[0] == '.' &&
(name_fs[1] == 0 || (name_fs[1] == 0 ||
...@@ -56,7 +56,7 @@ SkipNameFS(const char *name_fs) ...@@ -56,7 +56,7 @@ SkipNameFS(const char *name_fs)
gcc_pure gcc_pure
static bool static bool
skip_path(const char *name_fs) skip_path(PathTraitsFS::const_pointer name_fs)
{ {
return strchr(name_fs, '\n') != nullptr; return strchr(name_fs, '\n') != nullptr;
} }
......
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