Skip to content

Commit

Permalink
small
Browse files Browse the repository at this point in the history
  • Loading branch information
kelbon committed Sep 25, 2024
1 parent b19b984 commit b96988c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/kelcoro/task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct task_promise : return_block<Result> {
KELCORO_DEFAULT_AWAIT_TRANSFORM;

auto self_handle() {
return std::coroutine_handle<task_promise<Result, Ctx>>::from_promise(*this);
return std::coroutine_handle<task_promise>::from_promise(*this);
}
// precondition: not running && .done
std::add_rvalue_reference_t<Result> result_or_rethrow() {
Expand Down

0 comments on commit b96988c

Please sign in to comment.