diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2015-05-18 16:47:11 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:48:02 +0300 |
commit | b9d22c8fb11a9e7bd526ec3852b0d16fb5ec44e4 (patch) | |
tree | 9bfad4c0dfbc4ad993a01a71e3c650b9b5ab414a /indexer/ftypes_matcher.cpp | |
parent | 8fd9d2fff3e186a42ae64b41cbc72d55e804897a (diff) |
Changes after colleagues comments.
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r-- | indexer/ftypes_matcher.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp index a8c5faa37e..cf90ae2985 100644 --- a/indexer/ftypes_matcher.cpp +++ b/indexer/ftypes_matcher.cpp @@ -4,6 +4,8 @@ #include "indexer/feature_data.hpp" #include "indexer/classificator.hpp" +#include "std/sstream.hpp" +#include "std/utility.hpp" namespace ftypes { @@ -332,7 +334,7 @@ string DebugPrint(HighwayClass const cls) HighwayClass GetHighwayClass(feature::TypesHolder const & types) { Classificator const & c = classif(); - vector<pair<HighwayClass, uint32_t>> const kHighwayClasses = { + static pair<HighwayClass, uint32_t> const kHighwayClasses[] = { {HighwayClass::Trunk, c.GetTypeByPath({"highway", "motorway"})}, {HighwayClass::Trunk, c.GetTypeByPath({"highway", "motorway_link"})}, {HighwayClass::Trunk, c.GetTypeByPath({"highway", "trunk"})}, |