Skip to content

Commit e9723ab

Browse files
committed
🎨 Add maybe_unused to unused parameter
1 parent 63fb41a commit e9723ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/asyncpp/grpc/task.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ namespace asyncpp::grpc {
311311
struct awaiter {
312312
promise_type* m_self;
313313
constexpr bool await_ready() const noexcept { return true; }
314-
constexpr void await_suspend(asyncpp::coroutine_handle<> h) noexcept { assert(false); }
314+
constexpr void await_suspend([[maybe_unused]] asyncpp::coroutine_handle<> h) noexcept { assert(false); }
315315
constexpr context_type& await_resume() const noexcept { return m_self->m_context; }
316316
};
317317
return awaiter{this};

0 commit comments

Comments
 (0)