diff options
Diffstat (limited to 'cutl/fs/path.ixx')
-rw-r--r-- | cutl/fs/path.ixx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/cutl/fs/path.ixx b/cutl/fs/path.ixx index 80d3bb3..64d05a6 100644 --- a/cutl/fs/path.ixx +++ b/cutl/fs/path.ixx @@ -11,6 +11,22 @@ namespace cutl { namespace fs { +#ifdef _WIN32 + template <> + inline char path_traits<char>:: + tolower (char c) + { + return std::tolower (c); + } + + template <> + inline wchar_t path_traits<wchar_t>:: + tolower (wchar_t c) + { + return std::towlower (c); + } +#endif + template <typename C> inline bool basic_path<C>:: absolute () const @@ -51,21 +67,5 @@ namespace cutl return string (); } #endif - -#ifdef _WIN32 - template <> - inline char basic_path<char>:: - tolower (char c) - { - return std::tolower (c); - } - - template <> - inline wchar_t basic_path<wchar_t>:: - tolower (wchar_t c) - { - return std::towlower (c); - } -#endif } } |