Merge pull request #122 from denchat/patch-7
Suppress warning about unused parameter with `[[maybe_unused]]`.
This commit is contained in:
commit
150220b391
|
@ -110,7 +110,7 @@ namespace cppcoro
|
|||
}
|
||||
|
||||
std::experimental::coroutine_handle<>
|
||||
await_suspend(std::experimental::coroutine_handle<> producer) noexcept
|
||||
await_suspend([[maybe_unused]] std::experimental::coroutine_handle<> producer) noexcept
|
||||
{
|
||||
return m_consumer;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue