From 67c54e750ac70929c78c107ef186ff351df2c5f5 Mon Sep 17 00:00:00 2001 From: KosmosFult Date: Sat, 16 Nov 2024 05:26:00 +0000 Subject: [PATCH] Remove ServiceProxy::InitOtherMembers --- trpc/client/service_proxy.cc | 4 ---- trpc/client/service_proxy.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/trpc/client/service_proxy.cc b/trpc/client/service_proxy.cc index 5cde83df..0e1aaff1 100644 --- a/trpc/client/service_proxy.cc +++ b/trpc/client/service_proxy.cc @@ -359,8 +359,6 @@ void ServiceProxy::SetServiceProxyOptionInner(const std::shared_ptrGetMessageClientFilter(option_->selector_name); diff --git a/trpc/client/service_proxy.h b/trpc/client/service_proxy.h index 33d279ab..3f9eea72 100644 --- a/trpc/client/service_proxy.h +++ b/trpc/client/service_proxy.h @@ -140,9 +140,6 @@ class ServiceProxy { /// @note Subclasses can implement transport by overriding this method themselves. virtual void InitTransport(); - /// @brief Init the derived class members if need. It will be called after SetServiceProxyOptionInner. - virtual void InitOtherMembers(); - private: // Init the service routing name by config void InitServiceNameInfo();