Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 150220b

Browse files
authored
Merge pull request lewissbaker#122 from denchat/patch-7
Suppress warning about unused parameter with `[[maybe_unused]]`.
2 parents a45cac7 + e7407b3 commit 150220b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cppcoro/async_generator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ namespace cppcoro
110110
}
111111

112112
std::experimental::coroutine_handle<>
113-
await_suspend(std::experimental::coroutine_handle<> producer) noexcept
113+
await_suspend([[maybe_unused]] std::experimental::coroutine_handle<> producer) noexcept
114114
{
115115
return m_consumer;
116116
}

0 commit comments

Comments
 (0)