Merge pull request #149 from jorgbrown/patch-1

Use (latitude, longitude), not (latitude, latitude)
pull/3109/head
Yang Gao 10 years ago
commit 226019c212
  1. 2
      cpp/cpptutorial.md
  2. 2
      cpp/route_guide/route_guide_client.cc

@ -298,7 +298,7 @@ Now let's look at our streaming methods. If you've already read [Creating the se
std::cout << "Found feature called "
<< feature.name() << " at "
<< feature.location().latitude()/kCoordFactor_ << ", "
<< feature.location().latitude()/kCoordFactor_ << std::endl;
<< feature.location().longitude()/kCoordFactor_ << std::endl;
}
Status status = reader->Finish();
```

@ -120,7 +120,7 @@ class RouteGuideClient {
std::cout << "Found feature called "
<< feature.name() << " at "
<< feature.location().latitude()/kCoordFactor_ << ", "
<< feature.location().latitude()/kCoordFactor_ << std::endl;
<< feature.location().longitude()/kCoordFactor_ << std::endl;
}
Status status = reader->Finish();
if (status.IsOk()) {

Loading…
Cancel
Save