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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-06-08 15:43:15 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:52:13 +0300
commitf653249cdd4b82b305c6c291b37b05176768e744 (patch)
tree3f8789bb05372504d61bcec8d0a466153838c5d7 /indexer/ftypes_matcher.cpp
parent911e9cb9b8ec6d0377f986cea7a64a23bb955808 (diff)
Corrections after colleagues comments.
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r--indexer/ftypes_matcher.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp
index cf90ae2985..b52cb4fb0d 100644
--- a/indexer/ftypes_matcher.cpp
+++ b/indexer/ftypes_matcher.cpp
@@ -308,8 +308,10 @@ string DebugPrint(HighwayClass const cls)
out << "[ ";
switch (cls)
{
- case HighwayClass::None:
- out << "None";
+ case HighwayClass::Undefined:
+ out << "Undefined";
+ case HighwayClass::Error:
+ out << "Error";
case HighwayClass::Trunk:
out << "Trunk";
case HighwayClass::Primary:
@@ -362,7 +364,7 @@ HighwayClass GetHighwayClass(feature::TypesHolder const & types)
}
}
- return HighwayClass::None;
+ return HighwayClass::Error;
}
HighwayClass GetHighwayClass(FeatureType const & ft)