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/input/FileInputPlugin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/FileInputPlugin.cxx') diff --git a/src/input/FileInputPlugin.cxx b/src/input/FileInputPlugin.cxx index f52b1cd14..22cb8d5e6 100644 --- a/src/input/FileInputPlugin.cxx +++ b/src/input/FileInputPlugin.cxx @@ -24,7 +24,7 @@ #include "InputPlugin.hxx" #include "util/Error.hxx" #include "util/Domain.hxx" -#include "fs/Path.hxx" +#include "fs/Traits.hxx" #include "system/fd_util.h" #include "open.h" @@ -63,7 +63,7 @@ input_file_open(const char *filename, int fd, ret; struct stat st; - if (!Path::IsAbsoluteFS(filename)) + if (!PathTraits::IsAbsoluteFS(filename)) return nullptr; fd = open_cloexec(filename, O_RDONLY|O_BINARY, 0); -- cgit v1.2.3