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>2017-04-06 13:42:17 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2017-04-06 13:45:24 +0300
commit6dd2652ea78e5638a8cc72055373efe057daa56f (patch)
treed86b0a916751bd4054df083e1c620e9681720956
parent7491c6e9dbded25ab3d7a26a2b5c4aa997a78436 (diff)
-rw-r--r--routing/cross_mwm_connector.cpp2
-rw-r--r--routing/cross_mwm_connector_serialization.hpp2
-rw-r--r--routing/cross_mwm_osrm_graph.cpp8
3 files changed, 5 insertions, 7 deletions
diff --git a/routing/cross_mwm_connector.cpp b/routing/cross_mwm_connector.cpp
index b52773b563..0b0220a17e 100644
--- a/routing/cross_mwm_connector.cpp
+++ b/routing/cross_mwm_connector.cpp
@@ -55,7 +55,7 @@ bool CrossMwmConnector::IsTransition(Segment const & segment, bool isOutgoing) c
return false;
// Note. If |isOutgoing| == true |segment| should be an exit transition segment
- // (|isEnter| == false) to a transition segment.
+ // (|isEnter| == false) to be a transition segment.
// Otherwise |segment| should be an enter transition segment (|isEnter| == true)
// to be a transition segment. If not, |segment| is not a transition segment.
// Please see documentation on CrossMwmGraph::IsTransition() method for details.
diff --git a/routing/cross_mwm_connector_serialization.hpp b/routing/cross_mwm_connector_serialization.hpp
index 50f669935d..f4ca185a55 100644
--- a/routing/cross_mwm_connector_serialization.hpp
+++ b/routing/cross_mwm_connector_serialization.hpp
@@ -188,7 +188,7 @@ public:
}
template <class Source>
- static void DeserializeWeights(VehicleType /* requiredVehicle */, CrossMwmConnector & connector,
+ static void DeserializeWeights(VehicleType /* vehicle */, CrossMwmConnector & connector,
Source & src)
{
CHECK(connector.m_weightsLoadState == WeightsLoadState::ReadyToLoad, ());
diff --git a/routing/cross_mwm_osrm_graph.cpp b/routing/cross_mwm_osrm_graph.cpp
index 3a96525054..374fec0fb4 100644
--- a/routing/cross_mwm_osrm_graph.cpp
+++ b/routing/cross_mwm_osrm_graph.cpp
@@ -133,11 +133,9 @@ void CrossMwmOsrmGraph::GetEdgeList(Segment const & s, bool isOutgoing, vector<S
// outgoing
// at the same time. For example in Berlin mwm on Nordlicher Berliner Ring (A10) near crossing
// with A11 there's such node id. It's an extremely rare case. There're probably several such node
- // id
- // for the whole Europe. Such cases are not processed in WorldGraph::GetEdgeList() for the time
- // being.
- // To prevent filling |edges| with twins instead of leap edges and vice versa in
- // WorldGraph::GetEdgeList()
+ // id for the whole Europe. Such cases are not processed in WorldGraph::GetEdgeList() for the time
+ // being. To prevent filling |edges| with twins instead of leap edges and vice versa in
+ // WorldGraph::GetEdgeList().
// CrossMwmGraph::GetEdgeList() does not fill |edges| if |s| is a transition segment which
// corresponces node id described above.
if (IsTransition(s, isOutgoing))