Patch-Source: https://github.com/grpc/grpc/pull/28196 -- From 3991a4c0bcf57e5058a93c4c8255cc80cd0482ca Mon Sep 17 00:00:00 2001 From: Runming Wu Date: Tue, 23 Nov 2021 12:10:43 -0800 Subject: [PATCH] Fix compiler error for certain gcc version. --- src/core/ext/xds/xds_api.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/ext/xds/xds_api.h b/src/core/ext/xds/xds_api.h index 643febdf2203..f25a21f8f831 100644 --- a/src/core/ext/xds/xds_api.h +++ b/src/core/ext/xds/xds_api.h @@ -55,6 +55,7 @@ class XdsApi { static const char* kEdsTypeUrl; struct Duration { + Duration() {} int64_t seconds = 0; int32_t nanos = 0; bool operator==(const Duration& other) const {