aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-17 23:23:25 +0200
committerMax Kellermann <max@duempel.org>2013-10-17 23:23:25 +0200
commitb3611524f45c2a478f9decd6d22ecd1dbbbb64b9 (patch)
treed15d0c161e24e5db7d77b768458aa11cb6650878 /src/PlaylistFile.cxx
parenta63613dba0374367907180be5e244db450ff234b (diff)
downloadmpd-b3611524f45c2a478f9decd6d22ecd1dbbbb64b9.tar.gz
mpd-b3611524f45c2a478f9decd6d22ecd1dbbbb64b9.tar.xz
mpd-b3611524f45c2a478f9decd6d22ecd1dbbbb64b9.zip
fs/Path: move definitions to struct PathTraits
Diffstat (limited to 'src/PlaylistFile.cxx')
-rw-r--r--src/PlaylistFile.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PlaylistFile.cxx b/src/PlaylistFile.cxx
index ea6b3c914..aad9cee7a 100644
--- a/src/PlaylistFile.cxx
+++ b/src/PlaylistFile.cxx
@@ -33,6 +33,7 @@
#include "Idle.hxx"
#include "fs/Limits.hxx"
#include "fs/Path.hxx"
+#include "fs/Traits.hxx"
#include "fs/Charset.hxx"
#include "fs/FileSystem.hxx"
#include "fs/DirectoryReader.hxx"
@@ -248,7 +249,7 @@ LoadPlaylistFile(const char *utf8path, Error &error)
if (!uri_has_scheme(s)) {
uri_utf8 = map_fs_to_utf8(s);
if (uri_utf8.empty()) {
- if (Path::IsAbsoluteFS(s)) {
+ if (PathTraits::IsAbsoluteFS(s)) {
uri_utf8 = PathToUTF8(s);
if (uri_utf8.empty())
continue;