From c9250fb3c2e0e69bfc7f7eee1f090df3668de483 Mon Sep 17 00:00:00 2001 From: Mehrdad Afshari Date: Thu, 1 Dec 2022 08:44:28 -0800 Subject: [PATCH] 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. --- src/core/ext/xds/xds_listener.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/ext/xds/xds_listener.h b/src/core/ext/xds/xds_listener.h index 61427483f18..a3bfed0780c 100644 --- a/src/core/ext/xds/xds_listener.h +++ b/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;