File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ std::shared_ptr<const ResourceClientRegistration> Registry::lookup_resource_clie
163163}
164164
165165const google::protobuf::ServiceDescriptor* Registry::get_service_descriptor_ (
166- const char * service_full_name) const {
166+ const char * service_full_name) {
167167 const google::protobuf::DescriptorPool* p = google::protobuf::DescriptorPool::generated_pool ();
168168 const google::protobuf::ServiceDescriptor* sd = p->FindServiceByName (service_full_name);
169169 if (!sd) {
Original file line number Diff line number Diff line change @@ -204,8 +204,8 @@ class Registry {
204204 void register_resource_client_ (
205205 API api, std::shared_ptr<ResourceClientRegistration> resource_registration);
206206
207- const google::protobuf::ServiceDescriptor* get_service_descriptor_ (
208- const char * service_full_name) const ;
207+ static const google::protobuf::ServiceDescriptor* get_service_descriptor_ (
208+ const char * service_full_name);
209209
210210 std::shared_ptr<const ModelRegistration> lookup_model_inlock_ (
211211 const std::string& name, const std::lock_guard<std::mutex>&) const ;
You can’t perform that action at this time.
0 commit comments