From 74d0e3905e9d5a94f592813cb1f137fb60a907b8 Mon Sep 17 00:00:00 2001 From: mint570 <70396898+mint570@users.noreply.github.com> Date: Tue, 30 Nov 2021 10:31:00 -0800 Subject: [PATCH] Fix compiler error for certain gcc version. (#28196) --- 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 643febdf220..f25a21f8f83 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 {