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:
Diffstat (limited to 'iphone/Maps/Core/Routing/MWMCoreRouterType.h')
-rw-r--r--iphone/Maps/Core/Routing/MWMCoreRouterType.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/iphone/Maps/Core/Routing/MWMCoreRouterType.h b/iphone/Maps/Core/Routing/MWMCoreRouterType.h
index 0f6e964ba2..6b1e853244 100644
--- a/iphone/Maps/Core/Routing/MWMCoreRouterType.h
+++ b/iphone/Maps/Core/Routing/MWMCoreRouterType.h
@@ -19,5 +19,8 @@ static inline MWMRouterType routerType(routing::RouterType type)
case routing::RouterType::Pedestrian: return MWMRouterTypePedestrian;
case routing::RouterType::Bicycle: return MWMRouterTypeBicycle;
case routing::RouterType::Taxi: return MWMRouterTypeTaxi;
+ case routing::RouterType::Count:
+ ASSERT(false, ("RouterType is Count."));
+ return MWMRouterTypeVehicle;
}
}