Skip to content

Commit 7eb7d12

Browse files
Update libcxx/include/istream
Co-authored-by: A. Jiang <[email protected]>
1 parent 60a4b5b commit 7eb7d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/istream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public:
294294
basic_istream& getline(char_type* __s, streamsize __n, char_type __dlm);
295295

296296
basic_istream& ignore(streamsize __n = 1, int_type __dlm = traits_type::eof());
297-
template <class _Tp = char_type, __enable_if_t<is_same<_Tp, char_type>::value, int> = 0>
297+
template <class _Tp = char_type, __enable_if_t<is_same<_Tp, char>::value, int> = 0>
298298
inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_istream& ignore(streamsize __n, char_type __delim) {
299299
return ignore(__n, traits_type::to_int_type(__delim));
300300
}

0 commit comments

Comments
 (0)