Fix a C++ build failure if the C++17 standard is used (#26359)

* Initial commit

* Add a non-trivial constructor to avoid a compiler bug.
pull/26435/head
Hung Dang 4 years ago committed by GitHub
parent dd4e5b12ce
commit 5ea57ec905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/core/lib/channel/channelz.h

@ -276,6 +276,9 @@ class SocketNode : public BaseNode {
public:
struct Security : public RefCounted<Security> {
struct Tls {
// This is a workaround for https://bugs.llvm.org/show_bug.cgi?id=50346
Tls() {}
enum class NameType { kUnset = 0, kStandardName = 1, kOtherName = 2 };
NameType type = NameType::kUnset;
// Holds the value of standard_name or other_names if type is not kUnset.

Loading…
Cancel
Save