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:
authorMaxim Pimenov <m@maps.me>2018-09-12 14:22:15 +0300
committerVlad Mihaylenko <vxmihaylenko@gmail.com>2018-09-14 15:14:36 +0300
commitc7e09657fa5cc6fd5600252b41e9774b83c0a45d (patch)
tree0c1636a81a6afba6ae87b3040096bb86bf862c81 /generator/osm2type.cpp
parent4a44e1d009cf30dbb9fe759260aeef221a7be561 (diff)
[base] Unified stl_add and stl_helpers.
Diffstat (limited to 'generator/osm2type.cpp')
-rw-r--r--generator/osm2type.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/generator/osm2type.cpp b/generator/osm2type.cpp
index bcd50b8a2a..e488f15969 100644
--- a/generator/osm2type.cpp
+++ b/generator/osm2type.cpp
@@ -9,7 +9,7 @@
#include "geometry/mercator.hpp"
#include "base/assert.hpp"
-#include "base/stl_add.hpp"
+#include "base/stl_helpers.hpp"
#include "base/string_utils.hpp"
#include <cstdint>
@@ -233,7 +233,7 @@ namespace ftype
{
Classificator const & c = classif();
- my::StringIL arr[] =
+ base::StringIL arr[] =
{
{"entrance"}, {"highway"},
{"building", "address"}, {"hwtag", "oneway"}, {"hwtag", "private"},
@@ -439,13 +439,13 @@ namespace ftype
if (!isHighway || (surface.empty() && smoothness.empty()))
return string();
- static my::StringIL pavedSurfaces = {"paved", "asphalt", "cobblestone", "cobblestone:flattened",
- "sett", "concrete", "concrete:lanes", "concrete:plates",
- "paving_stones", "metal", "wood"};
- static my::StringIL badSurfaces = {"cobblestone", "sett", "metal", "wood", "grass", "gravel",
- "mud", "sand", "snow", "woodchips"};
- static my::StringIL badSmoothness = {"bad", "very_bad", "horrible", "very_horrible", "impassable",
- "robust_wheels", "high_clearance", "off_road_wheels", "rough"};
+ static base::StringIL pavedSurfaces = {"paved", "asphalt", "cobblestone", "cobblestone:flattened",
+ "sett", "concrete", "concrete:lanes", "concrete:plates",
+ "paving_stones", "metal", "wood"};
+ static base::StringIL badSurfaces = {"cobblestone", "sett", "metal", "wood", "grass", "gravel",
+ "mud", "sand", "snow", "woodchips"};
+ static base::StringIL badSmoothness = {"bad", "very_bad", "horrible", "very_horrible", "impassable",
+ "robust_wheels", "high_clearance", "off_road_wheels", "rough"};
bool isPaved = false;
bool isGood = true;