From 41f17865d66965558046876ddac469aba6a90764 Mon Sep 17 00:00:00 2001 From: Dominik Thalhammer Date: Tue, 2 Apr 2024 15:42:45 +0200 Subject: [PATCH] :bug: Add missing [[maybe_unused]] --- include/asyncpp/grpc/call.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asyncpp/grpc/call.h b/include/asyncpp/grpc/call.h index 0208524..37ddfef 100644 --- a/include/asyncpp/grpc/call.h +++ b/include/asyncpp/grpc/call.h @@ -257,7 +257,7 @@ namespace asyncpp::grpc { awaiter(state* state, typename traits::response_type* resp) : m_state{state}, m_resp{resp} {} - void handle_event(size_t evt, bool ok) noexcept override { + void handle_event([[maybe_unused]] size_t evt, bool ok) noexcept override { assert(m_handle); assert(evt == 0); m_was_ok = ok;