aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistSong.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PlaylistSong.cxx')
-rw-r--r--src/PlaylistSong.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PlaylistSong.cxx b/src/PlaylistSong.cxx
index db6c39b3b..fc1fe884c 100644
--- a/src/PlaylistSong.cxx
+++ b/src/PlaylistSong.cxx
@@ -25,6 +25,7 @@
#include "ls.hxx"
#include "tag/Tag.hxx"
#include "fs/Path.hxx"
+#include "fs/Traits.hxx"
#include "util/UriUtil.hxx"
#include "util/Error.hxx"
#include "Song.hxx"
@@ -98,7 +99,7 @@ playlist_check_load_song(const Song *song, const char *uri, bool secure)
if (uri_has_scheme(uri)) {
dest = Song::NewRemote(uri);
- } else if (Path::IsAbsoluteUTF8(uri) && secure) {
+ } else if (PathTraits::IsAbsoluteUTF8(uri) && secure) {
dest = Song::LoadFile(uri, nullptr);
if (dest == nullptr)
return nullptr;
@@ -147,7 +148,7 @@ playlist_check_translate_song(Song *song, const char *base_uri,
functions */
base_uri = nullptr;
- if (Path::IsAbsoluteUTF8(uri)) {
+ if (PathTraits::IsAbsoluteUTF8(uri)) {
/* XXX fs_charset vs utf8? */
const char *suffix = map_to_relative_path(uri);
assert(suffix != nullptr);