diff options
author | Max Kellermann <max@duempel.org> | 2015-02-28 22:03:40 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-02-28 23:00:26 +0100 |
commit | 7a8f96b1dd707ef96f8d8fe6821263d6f3cd225b (patch) | |
tree | 174524bc3b1346395280117f9bcf6eb7055ef5c5 /src/command | |
parent | f4f21f462d2498dc48b2de66b4d64d5334916d93 (diff) | |
download | mpd-7a8f96b1dd707ef96f8d8fe6821263d6f3cd225b.tar.gz mpd-7a8f96b1dd707ef96f8d8fe6821263d6f3cd225b.tar.xz mpd-7a8f96b1dd707ef96f8d8fe6821263d6f3cd225b.zip |
FileCommands: use PathTraitsFS typedefs
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/FileCommands.cxx | 4 |
1 files 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; } |