From 0a6c4c31b2a9e79c9c0119202f9e50e123f98ac6 Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Thu, 5 Dec 2013 03:53:43 +0600 Subject: fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 --- src/fs/Path.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fs/Path.hxx') diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx index 296f4b286..807677f38 100644 --- a/src/fs/Path.hxx +++ b/src/fs/Path.hxx @@ -36,9 +36,9 @@ * instance lives, the string must not be invalidated. */ class Path { - typedef PathTraits::value_type value_type; - typedef PathTraits::pointer pointer; - typedef PathTraits::const_pointer const_pointer; + typedef PathTraitsFS::value_type value_type; + typedef PathTraitsFS::pointer pointer; + typedef PathTraitsFS::const_pointer const_pointer; const char *value; @@ -139,7 +139,7 @@ public: gcc_pure bool IsAbsolute() { - return PathTraits::IsAbsoluteFS(c_str()); + return PathTraitsFS::IsAbsolute(c_str()); } }; -- cgit v1.2.3