diff --git a/generator/generator_tests/restriction_collector_test.cpp b/generator/generator_tests/restriction_collector_test.cpp index 43b5319c64..f7cb0a10b0 100644 --- a/generator/generator_tests/restriction_collector_test.cpp +++ b/generator/generator_tests/restriction_collector_test.cpp @@ -88,7 +88,7 @@ UNIT_TEST(RestrictionTest_ParseRestrictions) RestrictionCollector restrictionCollector; - Platform const & platform = Platform(); + Platform const & platform = GetPlatform(); TEST(restrictionCollector.ParseRestrictions( my::JoinPath(platform.WritableDir(), kRestrictionPath)), @@ -114,7 +114,7 @@ UNIT_TEST(RestrictionTest_RestrictionCollectorWholeClassTest) 20, 2, 30, 3, 40, 4)"; - Platform const & platform = Platform(); + Platform const & platform = GetPlatform(); ScopedFile mappingScopedFile(osmIdsToFeatureIdsPath, ScopedFile::Mode::Create); std::string const osmIdsToFeatureIdsFullPath = mappingScopedFile.GetFullPath(); ReEncodeOsmIdsToFeatureIdsMapping(kOsmIdsToFeatureIdsContent, osmIdsToFeatureIdsFullPath); diff --git a/generator/region_info_collector.cpp b/generator/region_info_collector.cpp index adb0f95c46..b010925562 100644 --- a/generator/region_info_collector.cpp +++ b/generator/region_info_collector.cpp @@ -126,7 +126,7 @@ void RegionInfoCollector::Fill(OsmElement const & el, RegionData & rd) } catch (std::exception const & e) // std::invalid_argument, std::out_of_range { - LOG(::my::LERROR, (e.what())); + LOG(::my::LWARNING, (e.what())); rd.m_adminLevel = AdminLevel::Unknown; } }