aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-02-28 22:03:40 +0100
committerMax Kellermann <max@duempel.org>2015-02-28 23:00:26 +0100
commit7a8f96b1dd707ef96f8d8fe6821263d6f3cd225b (patch)
tree174524bc3b1346395280117f9bcf6eb7055ef5c5 /src/command
parentf4f21f462d2498dc48b2de66b4d64d5334916d93 (diff)
downloadmpd-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.cxx4
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;
}