Skip to content

Commit

Permalink
spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorostsa committed May 23, 2024
1 parent 74c1d13 commit 2158c81
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ namespace hpx::parallel {

detail::reverse<FwdIter> r;

auto&& proccess = [=](auto&& f1, auto&& f2) mutable {
auto&& process = [=](auto&& f1, auto&& f2) mutable {
// propagate exceptions, if appropriate
constexpr bool handle_futures =
hpx::traits::is_future_v<decltype((f1))> &&
Expand Down Expand Up @@ -305,7 +305,7 @@ namespace hpx::parallel {
// both a future and a sender we treat it as a future.
if constexpr (handle_futures || handle_both)
{
return hpx::dataflow(hpx::launch::sync, std::move(proccess),
return hpx::dataflow(hpx::launch::sync, std::move(process),
r.call(left_policy, first, new_first),
r.call(right_policy, new_first, last));
}
Expand All @@ -315,7 +315,7 @@ namespace hpx::parallel {
hpx::execution::experimental::when_all(
r.call(left_policy, first, new_first),
r.call(right_policy, new_first, last)),
std::move(proccess));
std::move(process));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ int hpx_main()
auto result = tt::sync_wait_with_variant(s1);
auto v = *result;
// STDEXEC: using hpx::variant, hpx::tuple here works because they are
// provided as the prefered variant, tuple in check_value_types too
// provided as the preferred variant, tuple in check_value_types too
check_value_types<
hpx::variant<hpx::tuple<custom_type_non_default_constructible>>>(
s1);
Expand Down
7 changes: 4 additions & 3 deletions libs/core/execution_base/tests/unit/basic_operation_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,14 @@ int main()
{
{
#ifndef HPX_HAVE_STDEXEC
// Normally the operation states should be invalid STDEXEC but the
// implementation does not match the proposed standard yet.
// Normally the operation states should be invalid but the
// STDEXEC implementation does not match the proposed standard
// yet.
//
// The standard requires:
// { start(opstate) } noexcept;
//
// The current implentation requires:
// The current implementation requires:
// { start(opstate) };

static_assert(!ex::is_operation_state<mylib::state_2>::value,
Expand Down

0 comments on commit 2158c81

Please sign in to comment.