diff options
author | ncteisen <ncteisen@gmail.com> | 2018-07-24 09:41:07 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-07-24 09:41:07 -0700 |
commit | a8d5c21b8864202e205fc210e369dc72abe606f2 (patch) | |
tree | 7a7919d57cdbf984d5037ecc95756df9c478c2c8 /src/core/lib/channel/channelz.cc | |
parent | 1dc063c093745279452877861da2bacfcaaea95f (diff) |
reviewer feedback
Diffstat (limited to 'src/core/lib/channel/channelz.cc')
-rw-r--r-- | src/core/lib/channel/channelz.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/lib/channel/channelz.cc b/src/core/lib/channel/channelz.cc index eec2cd61b2..4fbc441c0a 100644 --- a/src/core/lib/channel/channelz.cc +++ b/src/core/lib/channel/channelz.cc @@ -41,9 +41,8 @@ namespace grpc_core { namespace channelz { -BaseNode::BaseNode(EntityType type) : type_(type) { - uuid_ = ChannelzRegistry::Register(this); -} +BaseNode::BaseNode(EntityType type) + : type_(type), uuid_(ChannelzRegistry::Register(this)) {} BaseNode::~BaseNode() { ChannelzRegistry::Unregister(uuid_); } |