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

Fix portability issues

parent 3951f2e0
No related branches found
No related tags found
No related merge requests found
...@@ -292,8 +292,8 @@ bool GrpcTool::ListServices(int argc, const char** argv, ...@@ -292,8 +292,8 @@ bool GrpcTool::ListServices(int argc, const char** argv,
if (FLAGS_l) { if (FLAGS_l) {
output = DescribeServiceList(service_list, desc_pool); output = DescribeServiceList(service_list, desc_pool);
} else { } else {
for (auto const& service = service_list.begin(); for (auto it = service_list.begin(); it != service_list.end(); it++) {
service != service_list.end(); service++) { auto const& service = *it;
output.append(service); output.append(service);
output.append("\n"); output.append("\n");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment