Skip to content

Commit ea573e6

Browse files
committed
Use bool return
1 parent 9f095b5 commit ea573e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__locale

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ protected:
516516
};
517517
#endif // _LIBCPP_HAS_WIDE_CHARACTERS
518518

519-
inline _LIBCPP_HIDE_FROM_ABI int __libcpp_isascii(int __c) { return (__c & ~0x7F) == 0; }
519+
inline _LIBCPP_HIDE_FROM_ABI bool __libcpp_isascii(int __c) { return (__c & ~0x7F) == 0; }
520520

521521
template <>
522522
class _LIBCPP_EXPORTED_FROM_ABI ctype<char> : public locale::facet, public ctype_base {

0 commit comments

Comments
 (0)