summaryrefslogtreecommitdiff
path: root/src/PlaylistSave.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/PlaylistSave.cxx
parenta63613dba0374367907180be5e244db450ff234b (diff)
fs/Path: move definitions to struct PathTraits
Diffstat (limited to 'src/PlaylistSave.cxx')
-rw-r--r--src/PlaylistSave.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PlaylistSave.cxx b/src/PlaylistSave.cxx
index 556ef0238..57a0d1351 100644
--- a/src/PlaylistSave.cxx
+++ b/src/PlaylistSave.cxx
@@ -26,6 +26,7 @@
#include "Mapper.hxx"
#include "Idle.hxx"
#include "fs/Path.hxx"
+#include "fs/Traits.hxx"
#include "fs/FileSystem.hxx"
#include "util/UriUtil.hxx"
#include "util/Error.hxx"
@@ -55,7 +56,7 @@ void
playlist_print_uri(FILE *file, const char *uri)
{
Path path = playlist_saveAbsolutePaths && !uri_has_scheme(uri) &&
- !Path::IsAbsoluteUTF8(uri)
+ !PathTraits::IsAbsoluteUTF8(uri)
? map_uri_fs(uri)
: Path::FromUTF8(uri);