Merge pull request #1488 from ctiller/create-pull-request/patch-6af423d

Automated fix for refs/heads/cg-http-svr
pull/35197/head
Craig Tiller 1 year ago committed by GitHub
commit 692ae925ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      src/core/lib/channel/promise_based_filter.h

@ -232,7 +232,7 @@ struct RaceAsyncCompletion<true> {
template <typename Derived> template <typename Derived>
struct FilterCallData { struct FilterCallData {
FilterCallData(Derived* channel) : channel(channel) {} explicit FilterCallData(Derived* channel) : channel(channel) {}
GPR_NO_UNIQUE_ADDRESS typename Derived::Call call; GPR_NO_UNIQUE_ADDRESS typename Derived::Call call;
GPR_NO_UNIQUE_ADDRESS GPR_NO_UNIQUE_ADDRESS
typename TypeIfNeeded<Latch<ServerMetadataHandle>, typename TypeIfNeeded<Latch<ServerMetadataHandle>,
@ -296,11 +296,11 @@ inline auto RunCall(
} }
template <typename Derived> template <typename Derived>
inline auto RunCall( inline auto RunCall(ServerMetadataHandle (Derived::Call::*fn)(
ServerMetadataHandle (Derived::Call::*fn)(ClientMetadata& md, ClientMetadata& md, Derived* channel),
Derived* channel), CallArgs call_args, NextPromiseFactory next_promise_factory,
CallArgs call_args, NextPromiseFactory next_promise_factory, FilterCallData<Derived>* call_data)
FilterCallData<Derived>* call_data) -> ArenaPromise<ServerMetadataHandle> { -> ArenaPromise<ServerMetadataHandle> {
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientInitialMetadata); GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientInitialMetadata);
auto return_md = call_data->call.OnClientInitialMetadata( auto return_md = call_data->call.OnClientInitialMetadata(
*call_args.client_initial_metadata, call_data->channel); *call_args.client_initial_metadata, call_data->channel);

Loading…
Cancel
Save