From 23d9c80ff3fcf46799925c592c17a1e1a5b2486f Mon Sep 17 00:00:00 2001 From: MWM Planet Generator cdn3 Date: Wed, 21 Oct 2015 14:23:51 -0700 Subject: [linux] Fixed project build with g++ 4.8. --- indexer/search_index_builder.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'indexer/search_index_builder.cpp') diff --git a/indexer/search_index_builder.cpp b/indexer/search_index_builder.cpp index 81f4d01803..0048ad9108 100644 --- a/indexer/search_index_builder.cpp +++ b/indexer/search_index_builder.cpp @@ -226,21 +226,21 @@ class FeatureInserter Classificator const & c = classif(); // Fill types that always! should be skipped. - for (auto const & e : (StringIL[]) { { "entrance" } }) + for (StringIL const & e : (StringIL[]) { { "entrance" } }) m_skipF[0].push_back(c.GetTypeByPath(e)); - for (auto const & e : (StringIL[]) { { "building", "address" } }) + for (StringIL const & e : (StringIL[]) { { "building", "address" } }) m_skipF[1].push_back(c.GetTypeByPath(e)); // Fill types that never! will be skipped. - for (auto const & e : (StringIL[]) { { "highway", "bus_stop" }, { "highway", "speed_camera" } }) + for (StringIL const & e : (StringIL[]) { { "highway", "bus_stop" }, { "highway", "speed_camera" } }) m_dontSkipEn.push_back(c.GetTypeByPath(e)); // Fill types that will be skipped if feature's name is empty! - for (auto const & e : (StringIL[]) { { "building" }, { "highway" }, { "natural" }, { "waterway" }, { "landuse" } }) + for (StringIL const & e : (StringIL[]) { { "building" }, { "highway" }, { "natural" }, { "waterway" }, { "landuse" } }) m_skipEn[0].push_back(c.GetTypeByPath(e)); - for (auto const & e : (StringIL[]) { + for (StringIL const & e : (StringIL[]) { { "place", "country" }, { "place", "state" }, { "place", "county" }, -- cgit v1.2.3