From 74a927be6ce0efdeefdbacf8069986cf98907821 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 8 Sep 2011 18:01:12 +0300 Subject: Added logging --- generator/feature_generator.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'generator/feature_generator.cpp') 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 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(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; -- cgit v1.2.3