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/ConfigPath.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/ConfigPath.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ConfigPath.cxx b/src/ConfigPath.cxx index 6c3177c17..ae97275b3 100644 --- a/src/ConfigPath.cxx +++ b/src/ConfigPath.cxx @@ -20,6 +20,7 @@ #include "config.h" #include "ConfigPath.hxx" #include "fs/Path.hxx" +#include "fs/Traits.hxx" #include "fs/Domain.hxx" #include "util/Error.hxx" #include "ConfigGlobal.hxx" @@ -119,7 +120,7 @@ ParsePath(const char *path, Error &error) return Path::Null(); return Path::Build(home, path2); - } else if (!Path::IsAbsoluteUTF8(path)) { + } else if (!PathTraits::IsAbsoluteUTF8(path)) { error.Format(path_domain, "not an absolute path: %s", path); return Path::Null(); |