Skip to content

Commit 5649cdc

Browse files
committed
fixing build
1 parent 31c5988 commit 5649cdc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libcxx/src/locale.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ bool ctype_byname<wchar_t>::do_is(mask m, char_type c) const {
11151115
bool result = false;
11161116
wint_t ch = static_cast<wint_t>(c);
11171117
if ((m & space) == space)
1118-
result |= (__locale__libcpp_iswspace(ch, __l_) != 0);
1118+
result |= (__locale::__libcpp_iswspace(ch, __l_) != 0);
11191119
if ((m & print) == print)
11201120
result |= (__locale::__libcpp_iswprint(ch, __l_) != 0);
11211121
if ((m & cntrl) == cntrl)
@@ -1145,7 +1145,7 @@ const wchar_t* ctype_byname<wchar_t>::do_is(const char_type* low, const char_typ
11451145
else {
11461146
*vec = 0;
11471147
wint_t ch = static_cast<wint_t>(*low);
1148-
if (__locale__libcpp_iswspace(ch, __l_))
1148+
if (__locale::__libcpp_iswspace(ch, __l_))
11491149
*vec |= space;
11501150
# ifndef _LIBCPP_CTYPE_MASK_IS_COMPOSITE_PRINT
11511151
if (__locale::__libcpp_iswprint(ch, __l_))
@@ -1183,7 +1183,7 @@ const wchar_t* ctype_byname<wchar_t>::do_scan_is(mask m, const char_type* low, c
11831183
break;
11841184
# else
11851185
wint_t ch = static_cast<wint_t>(*low);
1186-
if ((m & space) == space && __locale__libcpp_iswspace(ch, __l_))
1186+
if ((m & space) == space && __locale::__libcpp_iswspace(ch, __l_))
11871187
break;
11881188
if ((m & print) == print && __locale::__libcpp_iswprint(ch, __l_))
11891189
break;
@@ -1215,7 +1215,7 @@ const wchar_t* ctype_byname<wchar_t>::do_scan_not(mask m, const char_type* low,
12151215
break;
12161216
# else
12171217
wint_t ch = static_cast<wint_t>(*low);
1218-
if ((m & space) == space && __locale__libcpp_iswspace(ch, __l_))
1218+
if ((m & space) == space && __locale::__libcpp_iswspace(ch, __l_))
12191219
continue;
12201220
if ((m & print) == print && __locale::__libcpp_iswprint(ch, __l_))
12211221
continue;

0 commit comments

Comments
 (0)