diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-03-20 11:40:34 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-06-04 11:58:51 +0000 | 
| commit | 4b6eb0e63c698094db5506763df44cc83c19f643 (patch) | |
| tree | f1d30b8c10bc6db323b91538745ae8ab8b593910 /contrib/llvm-project/libcxx/include/__algorithm/unique_copy.h | |
| parent | 76886853f03395abb680824bcc74e98f83bd477a (diff) | |
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__algorithm/unique_copy.h')
| -rw-r--r-- | contrib/llvm-project/libcxx/include/__algorithm/unique_copy.h | 9 | 
1 files changed, 1 insertions, 8 deletions
diff --git a/contrib/llvm-project/libcxx/include/__algorithm/unique_copy.h b/contrib/llvm-project/libcxx/include/__algorithm/unique_copy.h index 974a7c4df2d4..4c916dc3ada2 100644 --- a/contrib/llvm-project/libcxx/include/__algorithm/unique_copy.h +++ b/contrib/llvm-project/libcxx/include/__algorithm/unique_copy.h @@ -13,15 +13,11 @@  #include <__algorithm/comp.h>  #include <__iterator/iterator_traits.h>  #include <utility> -#include <type_traits>  #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)  #pragma GCC system_header  #endif -_LIBCPP_PUSH_MACROS -#include <__undef_macros> -  _LIBCPP_BEGIN_NAMESPACE_STD  template <class _BinaryPredicate, class _InputIterator, class _OutputIterator> @@ -91,8 +87,7 @@ inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17  _OutputIterator  unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred)  { -    return _VSTD::__unique_copy<typename add_lvalue_reference<_BinaryPredicate>::type> -                              (__first, __last, __result, __pred, +    return _VSTD::__unique_copy<_BinaryPredicate&>(__first, __last, __result, __pred,                                 typename iterator_traits<_InputIterator>::iterator_category(),                                 typename iterator_traits<_OutputIterator>::iterator_category());  } @@ -109,6 +104,4 @@ unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __res  _LIBCPP_END_NAMESPACE_STD -_LIBCPP_POP_MACROS -  #endif // _LIBCPP___ALGORITHM_UNIQUE_COPY_H  | 
