FileCommands: use PathTraitsFS typedefs
This commit is contained in:
parent
f4f21f462d
commit
7a8f96b1dd
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue