Skip to content
Snippets Groups Projects
Commit 1724ef07 authored by Yuchen Zeng's avatar Yuchen Zeng
Browse files

Fix portibality issues

parent 24129f01
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,8 @@ namespace testing {
grpc::string DescribeServiceList(std::vector<grpc::string> service_list,
grpc::protobuf::DescriptorPool& desc_pool) {
std::stringstream result;
for (auto const& service : service_list) {
for (auto it = service_list.begin(); it != service_list.end(); it++) {
auto const& service = *it;
const grpc::protobuf::ServiceDescriptor* service_desc =
desc_pool.FindServiceByName(service);
if (service_desc != nullptr) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment