Merge pull request #3984 from mgsergio/master

Fix gtool build.
This commit is contained in:
Sergey Yershov 2016-08-08 19:35:58 +04:00 committed by GitHub
commit d90f24c163

View file

@ -106,6 +106,7 @@ struct Emitter : public EmitterBase
auto const & hotel = m_bookingDataset.GetHotel(j);
auto const score = booking_scoring::Match(hotel, fb);
auto const center = MercatorBounds::ToLatLon(fb.GetKeyPoint());
double const distanceMeters = ms::DistanceOnEarth(center.lat, center.lon,
hotel.lat, hotel.lon);
auto const matched = score.IsMatched();