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
diff options
context:
space:
mode:
Diffstat (limited to 'generator/borders.cpp')
-rw-r--r--generator/borders.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/borders.cpp b/generator/borders.cpp
index 9b70fc933c..526cffe01a 100644
--- a/generator/borders.cpp
+++ b/generator/borders.cpp
@@ -241,7 +241,7 @@ void GeneratePackedBorders(std::string const & baseDir)
}
void DumpBorderToPolyFile(std::string const & targetDir, storage::CountryId const & mwmName,
- std::vector<std::vector<m2::PointD>> const & polygons)
+ std::vector<m2::RegionD> const & polygons)
{
CHECK(!polygons.empty(), ());
@@ -255,7 +255,7 @@ void DumpBorderToPolyFile(std::string const & targetDir, storage::CountryId cons
{
poly << polygonId << std::endl;
++polygonId;
- for (auto const & point : points)
+ for (auto const & point : points.Data())
{
ms::LatLon const ll = MercatorBounds::ToLatLon(point);
poly << " " << std::scientific << ll.m_lon << " " << ll.m_lat << std::endl;