Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/3party
diff options
context:
space:
mode:
authorIlya Zverev <zverik@textual.ru>2018-04-10 13:09:11 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2018-04-10 15:33:47 +0300
commitf24c78c05eb572823cd4913ba44dbab4f957645f (patch)
treea44c5b955bb8af98e013b8ca5c7a55cb37de824e /3party
parentb81bc8b7d229b9c805c2a9fbaa4d738e019d2557 (diff)
[olc] Fix warning in open location code library
Diffstat (limited to '3party')
-rw-r--r--3party/open-location-code/codearea.cc4
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