Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed Sep 30, 2024
1 parent de92812 commit 8cde87e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/babylon/coroutine/cancelable.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ inline ::std::coroutine_handle<> Cancellable<A>::await_suspend(
}

template <typename A>
inline Cancellable<A>::OptionalResultType
inline typename Cancellable<A>::OptionalResultType
Cancellable<A>::await_resume() noexcept {
if (!canceled()) {
return ::std::move(_task.handle().promise().value());
Expand Down
2 changes: 1 addition & 1 deletion src/babylon/executor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ inline int Executor::submit(C&& callable, Args&&... args) noexcept {
using TaskType = ::std::invoke_result_t<C&&, Args&&...>;
struct S {
static CoroutineTask<> wrapper(TaskType task) {
co_await task;
co_await ::std::move(task);
}
};
auto task =
Expand Down

0 comments on commit 8cde87e

Please sign in to comment.