Skip to content

Commit

Permalink
fixup typname
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorWilliams committed Jan 7, 2024
1 parent 41ce46a commit 8cf71af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion include/libfork/core/invocable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ concept async_invocable_to_task =
*/
template <typename I, tag Tag, typename F, typename... Args>
requires async_invocable_to_task<I, Tag, F, Args...>
using unsafe_result_t = std::invoke_result_t<F, impl::first_arg_t<I, Tag, F, Args &&...>, Args...>::type;
using unsafe_result_t =
typename std::invoke_result_t<F, impl::first_arg_t<I, Tag, F, Args &&...>, Args...>::type;

// --------------------- //

Expand Down
3 changes: 2 additions & 1 deletion single_header/libfork.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3144,7 +3144,8 @@ concept async_invocable_to_task =
*/
template <typename I, tag Tag, typename F, typename... Args>
requires async_invocable_to_task<I, Tag, F, Args...>
using unsafe_result_t = std::invoke_result_t<F, impl::first_arg_t<I, Tag, F, Args &&...>, Args...>::type;
using unsafe_result_t =
typename std::invoke_result_t<F, impl::first_arg_t<I, Tag, F, Args &&...>, Args...>::type;

// --------------------- //

Expand Down

0 comments on commit 8cf71af

Please sign in to comment.