aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Charset.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-02-25 16:10:24 +0100
committerMax Kellermann <max@duempel.org>2015-02-25 19:17:45 +0100
commiteb174d5ba317743ca21295697df90a7ed66a64bb (patch)
tree1d63d91b3517353fac94b5706d37606d93616696 /src/fs/Charset.hxx
parent4c899e9c5aec4d7fea56da95eed8784a41ea4b5b (diff)
downloadmpd-eb174d5ba317743ca21295697df90a7ed66a64bb.tar.gz
mpd-eb174d5ba317743ca21295697df90a7ed66a64bb.tar.xz
mpd-eb174d5ba317743ca21295697df90a7ed66a64bb.zip
fs/{Allocated,}Path,Charset: use PathTraitsFS typedefs
Diffstat (limited to '')
-rw-r--r--src/fs/Charset.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/fs/Charset.hxx b/src/fs/Charset.hxx
index dd5ca168a..49ad07820 100644
--- a/src/fs/Charset.hxx
+++ b/src/fs/Charset.hxx
@@ -22,8 +22,7 @@
#include "check.h"
#include "Compiler.h"
-
-#include <string>
+#include "Traits.hxx"
#if defined(HAVE_ICU) || defined(HAVE_GLIB)
#define HAVE_FS_CHARSET
@@ -49,15 +48,15 @@ DeinitFSCharset();
* Returns empty string on error.
*/
gcc_pure gcc_nonnull_all
-std::string
-PathToUTF8(const char *path_fs);
+PathTraitsUTF8::string
+PathToUTF8(PathTraitsFS::const_pointer path_fs);
/**
* Convert the path from UTF-8.
* Returns empty string on error.
*/
gcc_pure gcc_nonnull_all
-std::string
-PathFromUTF8(const char *path_utf8);
+PathTraitsFS::string
+PathFromUTF8(PathTraitsUTF8::const_pointer path_utf8);
#endif