diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-03-28 10:11:46 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-03-28 10:11:46 +0300 |
commit | 14a9357e8d2d937e22b789d5aea09219a3e92c31 (patch) | |
tree | 9e899edffa271e32ae6272be3034a371b3742c2a /contrib/libs/grpc/src/cpp/server/channelz/channelz_service_plugin.cc | |
parent | 1911ec1bf2da9ae39eb5f31511a92b06b9631da1 (diff) | |
download | ydb-14a9357e8d2d937e22b789d5aea09219a3e92c31.tar.gz |
Update contrib/libs/grpc to 1.45.2
Diffstat (limited to 'contrib/libs/grpc/src/cpp/server/channelz/channelz_service_plugin.cc')
-rw-r--r-- | contrib/libs/grpc/src/cpp/server/channelz/channelz_service_plugin.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/grpc/src/cpp/server/channelz/channelz_service_plugin.cc b/contrib/libs/grpc/src/cpp/server/channelz/channelz_service_plugin.cc index b18624e3b6..b7f20b8312 100644 --- a/contrib/libs/grpc/src/cpp/server/channelz/channelz_service_plugin.cc +++ b/contrib/libs/grpc/src/cpp/server/channelz/channelz_service_plugin.cc @@ -29,7 +29,7 @@ namespace grpc { namespace channelz { namespace experimental { -class ChannelzServicePlugin : public ::grpc::ServerBuilderPlugin { +class ChannelzServicePlugin : public grpc::ServerBuilderPlugin { public: ChannelzServicePlugin() : channelz_service_(new grpc::ChannelzService()) {} @@ -61,16 +61,16 @@ class ChannelzServicePlugin : public ::grpc::ServerBuilderPlugin { std::shared_ptr<grpc::ChannelzService> channelz_service_; }; -static std::unique_ptr< ::grpc::ServerBuilderPlugin> +static std::unique_ptr<grpc::ServerBuilderPlugin> CreateChannelzServicePlugin() { - return std::unique_ptr< ::grpc::ServerBuilderPlugin>( + return std::unique_ptr<grpc::ServerBuilderPlugin>( new ChannelzServicePlugin()); } void InitChannelzService() { static struct Initializer { Initializer() { - ::grpc::ServerBuilder::InternalAddPluginFactory( + grpc::ServerBuilder::InternalAddPluginFactory( &grpc::channelz::experimental::CreateChannelzServicePlugin); } } initialize; |