Skip to content

Commit 025f03f

Browse files
authored
[libc++][NFC] Remove unused struct in <string> (#106527)
1 parent fc11020 commit 025f03f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

libcxx/include/string

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3462,14 +3462,6 @@ inline _LIBCPP_CONSTEXPR_SINCE_CXX20 void basic_string<_CharT, _Traits, _Allocat
34623462

34633463
// find
34643464

3465-
template <class _Traits>
3466-
struct _LIBCPP_HIDDEN __traits_eq {
3467-
typedef typename _Traits::char_type char_type;
3468-
_LIBCPP_HIDE_FROM_ABI bool operator()(const char_type& __x, const char_type& __y) _NOEXCEPT {
3469-
return _Traits::eq(__x, __y);
3470-
}
3471-
};
3472-
34733465
template <class _CharT, class _Traits, class _Allocator>
34743466
_LIBCPP_CONSTEXPR_SINCE_CXX20 typename basic_string<_CharT, _Traits, _Allocator>::size_type
34753467
basic_string<_CharT, _Traits, _Allocator>::find(const value_type* __s, size_type __pos, size_type __n) const _NOEXCEPT {

0 commit comments

Comments
 (0)