diff options
author | Ilya Zverev <zverik@textual.ru> | 2018-04-10 13:09:11 +0300 |
---|---|---|
committer | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2018-04-10 15:33:47 +0300 |
commit | f24c78c05eb572823cd4913ba44dbab4f957645f (patch) | |
tree | a44c5b955bb8af98e013b8ca5c7a55cb37de824e /3party | |
parent | b81bc8b7d229b9c805c2a9fbaa4d738e019d2557 (diff) |
[olc] Fix warning in open location code library
Diffstat (limited to '3party')
-rw-r--r-- | 3party/open-location-code/codearea.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3party/open-location-code/codearea.cc b/3party/open-location-code/codearea.cc index d4c3e52544..f1e182f1f7 100644 --- a/3party/open-location-code/codearea.cc +++ b/3party/open-location-code/codearea.cc @@ -37,8 +37,8 @@ size_t CodeArea::GetCodeLength() const { return code_length_; } LatLng CodeArea::GetCenter() const { double latitude_center = std::min(latitude_lo_ + (latitude_hi_ - latitude_lo_) / 2, kLatitudeMaxDegrees); double longitude_center = std::min(longitude_lo_ + (longitude_hi_ - longitude_lo_) / 2, kLongitudeMaxDegrees); - LatLng center = {latitude: latitude_center, longitude: longitude_center}; + LatLng center{latitude_center, longitude_center}; return center; } -} // namespace openlocationcode
\ No newline at end of file +} // namespace openlocationcode |