Add empty constructor to workaround gcc/clang bug (#31780)

Some versions of gcc/clang have a bug that fail to compile
with an error message without a constructor definition.
Adding a no-op constructor to avoid this issue.
pull/31791/head
Mehrdad Afshari 2 years ago committed by GitHub
parent ec6d6025e5
commit c9250fb3c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/ext/xds/xds_listener.h

@ -79,6 +79,8 @@ struct XdsListenerResource : public XdsResourceType::ResourceData {
};
struct DownstreamTlsContext {
DownstreamTlsContext() {}
CommonTlsContext common_tls_context;
bool require_client_certificate = false;

Loading…
Cancel
Save