aboutsummaryrefslogtreecommitdiff
path: root/butl/path.ixx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-08-08 00:49:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-08-10 14:53:04 +0300
commitaa0370b08ea8a1ad679a746c7be21a874f264fb6 (patch)
tree653f6b1d8ed888691f5af5a1e57516050d71d3cb /butl/path.ixx
parentde07f993a54f7443db685798ae9225bbd49f0231 (diff)
Add ucase(), lcase(), casecmp(), alpha(), digit(), alnum()
Diffstat (limited to 'butl/path.ixx')
-rw-r--r--butl/path.ixx5
1 files changed, 2 insertions, 3 deletions
diff --git a/butl/path.ixx b/butl/path.ixx
index 26a9b3d..d1fa34c 100644
--- a/butl/path.ixx
+++ b/butl/path.ixx
@@ -3,7 +3,6 @@
// license : MIT; see accompanying LICENSE file
#ifdef _WIN32
-# include <cctype> // tolower(), toupper()
# include <cwctype> // towlower(), towupper()
#endif
@@ -14,7 +13,7 @@ namespace butl
inline char path_traits<char>::
tolower (char c)
{
- return std::tolower (c);
+ return lcase (c);
}
template <>
@@ -28,7 +27,7 @@ namespace butl
inline char path_traits<char>::
toupper (char c)
{
- return std::toupper (c);
+ return ucase (c);
}
template <>