ray/thirdparty/patches/grpc-default-initialization.patch

12 lines
338 B
Diff
Raw Normal View History

diff --git src/core/ext/xds/xds_api.h src/core/ext/xds/xds_api.h
--- src/core/ext/xds/xds_api.h
+++ 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 {