storage/nfs: use PathTraitsFS::const_pointer_type

This commit is contained in:
Max Kellermann 2018-02-24 22:13:58 +01:00
parent 774d26b982
commit cd48d981b5

View File

@ -296,7 +296,7 @@ NfsStorage::GetInfo(const char *uri_utf8, gcc_unused bool follow)
gcc_pure gcc_pure
static bool static bool
SkipNameFS(const char *name) noexcept SkipNameFS(PathTraitsFS::const_pointer_type name) noexcept
{ {
return name[0] == '.' && return name[0] == '.' &&
(name[1] == 0 || (name[1] == 0 ||