diff options
author | Max Kellermann <max@duempel.org> | 2013-10-17 23:23:25 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-17 23:23:25 +0200 |
commit | b3611524f45c2a478f9decd6d22ecd1dbbbb64b9 (patch) | |
tree | d15d0c161e24e5db7d77b768458aa11cb6650878 /src/SongUpdate.cxx | |
parent | a63613dba0374367907180be5e244db450ff234b (diff) | |
download | mpd-b3611524f45c2a478f9decd6d22ecd1dbbbb64b9.tar.gz mpd-b3611524f45c2a478f9decd6d22ecd1dbbbb64b9.tar.xz mpd-b3611524f45c2a478f9decd6d22ecd1dbbbb64b9.zip |
fs/Path: move definitions to struct PathTraits
Diffstat (limited to '')
-rw-r--r-- | src/SongUpdate.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx index 075e94242..1bf70a8c9 100644 --- a/src/SongUpdate.cxx +++ b/src/SongUpdate.cxx @@ -24,6 +24,7 @@ #include "Directory.hxx" #include "Mapper.hxx" #include "fs/Path.hxx" +#include "fs/Traits.hxx" #include "fs/FileSystem.hxx" #include "InputStream.hxx" #include "DecoderPlugin.hxx" @@ -47,7 +48,7 @@ Song::LoadFile(const char *path_utf8, Directory *parent) Song *song; bool ret; - assert((parent == NULL) == Path::IsAbsoluteUTF8(path_utf8)); + assert((parent == NULL) == PathTraits::IsAbsoluteUTF8(path_utf8)); assert(!uri_has_scheme(path_utf8)); assert(strchr(path_utf8, '\n') == NULL); |