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/ConfigPath.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ConfigPath.cxx') 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(); -- cgit v1.2.3