Merge pull request #122 from denchat/patch-7

Suppress warning about unused parameter with `[[maybe_unused]]`.
This commit is contained in:
Lewis Baker 2019-09-03 07:17:20 -07:00 committed by GitHub
commit 150220b391
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}