From 7a8f96b1dd707ef96f8d8fe6821263d6f3cd225b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 28 Feb 2015 22:03:40 +0100 Subject: FileCommands: use PathTraitsFS typedefs --- src/command/FileCommands.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx index 9f1c3a8e3..fa5ff7f59 100644 --- a/src/command/FileCommands.cxx +++ b/src/command/FileCommands.cxx @@ -47,7 +47,7 @@ gcc_pure static bool -SkipNameFS(const char *name_fs) +SkipNameFS(PathTraitsFS::const_pointer name_fs) { return name_fs[0] == '.' && (name_fs[1] == 0 || @@ -56,7 +56,7 @@ SkipNameFS(const char *name_fs) gcc_pure static bool -skip_path(const char *name_fs) +skip_path(PathTraitsFS::const_pointer name_fs) { return strchr(name_fs, '\n') != nullptr; } -- cgit v1.2.3