[libcxx-commits] [PATCH] D154296: Fix typo "__is_parititioned_impl" to "__is_partitioned_impl"
Amirreza Ashouri via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jul 2 01:12:39 PDT 2023
AMP999 created this revision.
AMP999 added a reviewer: philnik.
AMP999 added a project: LLVM.
Herald added a project: All.
AMP999 requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
typo fixed
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154296
Files:
libcxx/include/__algorithm/ranges_is_partitioned.h
Index: libcxx/include/__algorithm/ranges_is_partitioned.h
===================================================================
--- libcxx/include/__algorithm/ranges_is_partitioned.h
+++ libcxx/include/__algorithm/ranges_is_partitioned.h
@@ -32,7 +32,7 @@
struct __fn {
template <class _Iter, class _Sent, class _Proj, class _Pred>
_LIBCPP_HIDE_FROM_ABI constexpr static bool
- __is_parititioned_impl(_Iter __first, _Sent __last, _Pred& __pred, _Proj& __proj) {
+ __is_partitioned_impl(_Iter __first, _Sent __last, _Pred& __pred, _Proj& __proj) {
for (; __first != __last; ++__first) {
if (!std::invoke(__pred, std::invoke(__proj, *__first)))
break;
@@ -56,7 +56,7 @@
indirect_unary_predicate<projected<_Iter, _Proj>> _Pred>
_LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr bool
operator()(_Iter __first, _Sent __last, _Pred __pred, _Proj __proj = {}) const {
- return __is_parititioned_impl(std::move(__first), std::move(__last), __pred, __proj);
+ return __is_partitioned_impl(std::move(__first), std::move(__last), __pred, __proj);
}
template <input_range _Range,
@@ -64,7 +64,7 @@
indirect_unary_predicate<projected<iterator_t<_Range>, _Proj>> _Pred>
_LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr bool
operator()(_Range&& __range, _Pred __pred, _Proj __proj = {}) const {
- return __is_parititioned_impl(ranges::begin(__range), ranges::end(__range), __pred, __proj);
+ return __is_partitioned_impl(ranges::begin(__range), ranges::end(__range), __pred, __proj);
}
};
} // namespace __is_partitioned
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154296.536574.patch
Type: text/x-patch
Size: 1606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230702/739ab174/attachment-0001.bin>
More information about the libcxx-commits
mailing list