Skip to content

Commit

Permalink
doc: Fix warning in helloworld arena example
Browse files Browse the repository at this point in the history
  • Loading branch information
Tradias committed Dec 10, 2024
1 parent 544c70d commit 52eac0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/hello-world-server-arena.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ int main(int argc, const char** argv)
agrpc::register_awaitable_rpc_handler<RPC>(
grpc_context, service,
RPCHandlerWithArenaRequestMessageFactory{
[&](RPC& rpc, RPC::Request& request, ArenaRequestMessageFactory& factory) -> asio::awaitable<void>
[&](RPC& rpc, RPC::Request& request, ArenaRequestMessageFactory&) -> asio::awaitable<void>
{
auto& response = *google::protobuf::Arena::Create<RPC::Response>(request.GetArena());
response.set_message("Hello " + request.name());
Expand Down

0 comments on commit 52eac0a

Please sign in to comment.