diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2016-10-11 16:09:41 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2016-10-11 16:09:41 +0300 |
commit | 7e729c2ceec5ecc0b245fb709a04013897c39dd7 (patch) | |
tree | 3a125ef47b1a14807e296cd2a1f8eabb37c9a7ea /routing | |
parent | 53da4259b42ee24fc5c662514cb533529939ad1b (diff) |
review fixes
Diffstat (limited to 'routing')
-rw-r--r-- | routing/router.cpp | 6 | ||||
-rw-r--r-- | routing/router.hpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/routing/router.cpp b/routing/router.cpp index d24cb24267..eb3dc93e79 100644 --- a/routing/router.cpp +++ b/routing/router.cpp @@ -10,7 +10,7 @@ string ToString(RouterType type) case RouterType::Vehicle: return "Vehicle"; case RouterType::Pedestrian: return "Pedestrian"; case RouterType::Bicycle: return "Bicycle"; - case RouterType::Uber: return "Uber"; + case RouterType::Taxi: return "Taxi"; } ASSERT(false, ()); return "Error"; @@ -24,8 +24,8 @@ RouterType FromString(string const & str) return RouterType::Pedestrian; if (str == "bicycle") return RouterType::Bicycle; - if (str == "uber") - return RouterType::Uber; + if (str == "taxi") + return RouterType::Taxi; ASSERT(false, ("Incorrect routing string:", str)); return RouterType::Vehicle; diff --git a/routing/router.hpp b/routing/router.hpp index 4cac29ddcb..bd96dd6dad 100644 --- a/routing/router.hpp +++ b/routing/router.hpp @@ -22,7 +22,7 @@ enum class RouterType Vehicle = 0, /// For OSRM vehicle routing Pedestrian, /// For A star pedestrian routing Bicycle, /// For A star bicycle routing - Uber, /// For Uber taxi, for route calculation Vehicle routing is used. + Taxi, /// For taxi route calculation Vehicle routing is used. }; string ToString(RouterType type); |