diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2023-09-02 21:17:18 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2024-01-07 23:04:38 +0000 |
| commit | 0e1e0ce556810ad5f9d45485e686f0653530516c (patch) | |
| tree | ab02ce7c4fafc0518430e9cec77d41201bce23f0 /contrib/llvm-project/libcxx/include/__algorithm/merge.h | |
| parent | c3eb0b7c19221f3a2133ab14d3ffffa61ec0c4bc (diff) | |
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__algorithm/merge.h')
| -rw-r--r-- | contrib/llvm-project/libcxx/include/__algorithm/merge.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/llvm-project/libcxx/include/__algorithm/merge.h b/contrib/llvm-project/libcxx/include/__algorithm/merge.h index e54e430bcb6a..7ee7aaad716e 100644 --- a/contrib/llvm-project/libcxx/include/__algorithm/merge.h +++ b/contrib/llvm-project/libcxx/include/__algorithm/merge.h @@ -60,9 +60,7 @@ _OutputIterator merge(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result) { - typedef typename iterator_traits<_InputIterator1>::value_type __v1; - typedef typename iterator_traits<_InputIterator2>::value_type __v2; - return _VSTD::merge(__first1, __last1, __first2, __last2, __result, __less<__v1, __v2>()); + return _VSTD::merge(__first1, __last1, __first2, __last2, __result, __less<>()); } _LIBCPP_END_NAMESPACE_STD |
