Fix portability issues

pull/7892/head
Yuchen Zeng 8 years ago
parent 20d6a10483
commit 75e3ce645c
  1. 3
      test/cpp/util/grpc_tool.cc

@ -292,7 +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) { for (auto const& service = service_list.begin();
service != service_list.end(); service++) {
output.append(service); output.append(service);
output.append("\n"); output.append("\n");
} }

Loading…
Cancel
Save