Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Oct 4, 2024
1 parent cf48c68 commit 3230d4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/ucoro/awaitable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,13 +566,13 @@ ucoro::ExecutorAwaiter<T, callback> executor_awaitable(callback &&cb)
}

template <typename Awaitable, typename Local>
void coro_start(Awaitable &&a, Local &&local)
void coro_start(Awaitable &&coro, Local &&local)
{
a.detach(local);
coro.detach(local);
}

template <typename Awaitable>
void coro_start(Awaitable &&a)
void coro_start(Awaitable &&coro)
{
a.detach();
coro.detach();
}

0 comments on commit 3230d4f

Please sign in to comment.