Skip to content

Commit fe4cd10

Browse files
committed
[libc++][NFC] Fix typo in concept PSTL concept check
1 parent 3f42fee commit fe4cd10

File tree

1 file changed

+1
-1
lines changed
  • libcxx/include/__algorithm

1 file changed

+1
-1
lines changed

libcxx/include/__algorithm/pstl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ template <class _ExecutionPolicy,
247247
enable_if_t<is_execution_policy_v<_RawPolicy>, int> = 0>
248248
_LIBCPP_HIDE_FROM_ABI void
249249
fill_n(_ExecutionPolicy&& __policy, _ForwardIterator __first, _Size __n, const _Tp& __value) {
250-
_LIBCPP_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardIterator, "fill_n requires ForwardIterators");
250+
_LIBCPP_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardIterator, "fill_n requires a ForwardIterator");
251251
using _Implementation = __pstl::__dispatch<__pstl::__fill_n, __pstl::__current_configuration, _RawPolicy>;
252252
__pstl::__handle_exception<_Implementation>(
253253
std::forward<_ExecutionPolicy>(__policy), std::move(__first), std::move(__n), __value);

0 commit comments

Comments
 (0)