From 080ee87e07f0037e559abbea6f7db73602af5137 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Oct 2013 22:13:54 +0200 Subject: fs/Path: move configuration code to Config.cxx --- src/fs/Path.hxx | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'src/fs/Path.hxx') diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx index 10709219b..38112feee 100644 --- a/src/fs/Path.hxx +++ b/src/fs/Path.hxx @@ -129,23 +129,6 @@ public: gcc_pure static Path FromUTF8(const char *path_utf8, Error &error); - /** - * Convert the path to UTF-8. - * Returns empty string on error or if #path_fs is null pointer. - */ - gcc_pure - static std::string ToUTF8(const_pointer path_fs); - - /** - * Performs global one-time initialization of this class. - */ - static void GlobalInit(); - - /** - * Gets file system character set name. - */ - static const std::string &GetFSCharset(); - /** * Copy a #Path object. */ @@ -209,9 +192,8 @@ public: * Returns empty string on error or if this instance is "nulled" * (#IsNull returns true). */ - std::string ToUTF8() const { - return ToUTF8(value.c_str()); - } + gcc_pure + std::string ToUTF8() const; /** * Gets directory name of this path. -- cgit v1.2.3