aboutsummaryrefslogtreecommitdiff
path: root/butl/path
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
parentde07f993a54f7443db685798ae9225bbd49f0231 (diff)
Add ucase(), lcase(), casecmp(), alpha(), digit(), alnum()
Diffstat (limited to 'butl/path')
-rw-r--r--butl/path4
1 files changed, 3 insertions, 1 deletions
diff --git a/butl/path b/butl/path
index 7322a15..2040f5f 100644
--- a/butl/path
+++ b/butl/path
@@ -14,6 +14,8 @@
#include <butl/export>
+#include <butl/utility>
+
namespace butl
{
// Wish list/ideas for improvements.
@@ -195,7 +197,7 @@ namespace butl
for (size_type i (0), n (ln < rn ? ln : rn); i != n; ++i)
{
#ifdef _WIN32
- C lc (tolower (l[i])), rc (tolower (r[i]));
+ C lc (lcase (l[i])), rc (lcase (r[i]));
#else
C lc (l[i]), rc (r[i]);
#endif