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:
authorAlex Zolotarev <deathbaba@gmail.com>2011-09-08 19:01:12 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:23:26 +0300
commit74a927be6ce0efdeefdbacf8069986cf98907821 (patch)
treecb336091598c820eda852055403e40ab930f9758 /generator/feature_generator.cpp
parentd7cad89f77c5184a3deb08dfb78acd93224bcf8f (diff)
Added logging
Diffstat (limited to 'generator/feature_generator.cpp')
-rw-r--r--generator/feature_generator.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/generator/feature_generator.cpp b/generator/feature_generator.cpp
index 6df1d473e0..434634d32c 100644
--- a/generator/feature_generator.cpp
+++ b/generator/feature_generator.cpp
@@ -264,10 +264,8 @@ public:
: m_countries(info)
{
{
- vector<string> path;
- path.push_back("natural");
- path.push_back("coastline");
- m_coastType = classif().GetTypeByPath(path);
+ static char const * path[] = {"natural", "coastline"};
+ m_coastType = classif().GetTypeByPath(vector<string>(path, path + 2));
}
if (info.m_createWorld)
@@ -306,6 +304,7 @@ public:
m_coasts->Finish();
size_t const count = m_coasts->GetFeaturesCount();
+ LOG(LINFO, ("Generating coastline polygons", count));
for (size_t i = 0; i < count; ++i)
{
FeatureBuilder1 fb;