FileCommands: use PathTraitsFS typedefs

This commit is contained in:
Max Kellermann 2015-02-28 22:03:40 +01:00
parent f4f21f462d
commit 7a8f96b1dd
1 changed files with 2 additions and 2 deletions

View File

@ -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)
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;
} }