From b3611524f45c2a478f9decd6d22ecd1dbbbb64b9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Oct 2013 23:23:25 +0200 Subject: fs/Path: move definitions to struct PathTraits --- src/SongUpdate.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/SongUpdate.cxx') 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); -- cgit v1.2.3