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>2018-04-18 17:27:26 +0300
committerTatiana Yan <tatiana.kondakova@gmail.com>2018-04-19 15:16:12 +0300
commit3b5df2b1529f7a0788ff1618e25d17b27d57df46 (patch)
treea5f580e2e86249c697bc4f3fc1cac254a1b5302e /routing
parent33d73bb1b7a034bb0b76f6ff3f4f6cac372ba659 (diff)
Review fixes.
Diffstat (limited to 'routing')
-rw-r--r--routing/routing_integration_tests/routing_test_tools.cpp4
-rw-r--r--routing/transit_world_graph.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/routing/routing_integration_tests/routing_test_tools.cpp b/routing/routing_integration_tests/routing_test_tools.cpp
index 05b8df7a60..2e205b39c3 100644
--- a/routing/routing_integration_tests/routing_test_tools.cpp
+++ b/routing/routing_integration_tests/routing_test_tools.cpp
@@ -297,9 +297,7 @@ namespace integration
{
return routerComponents.GetCountryInfoGetter().GetRegionCountryId(p);
};
- auto localFileChecker =
- [&routerComponents](string const & /* countryFile */) -> bool
- {
+ auto localFileChecker = [](string const & /* countryFile */) -> bool {
// Always returns that the file is absent.
return false;
};
diff --git a/routing/transit_world_graph.cpp b/routing/transit_world_graph.cpp
index 684ecc51d0..2ff09ff253 100644
--- a/routing/transit_world_graph.cpp
+++ b/routing/transit_world_graph.cpp
@@ -181,7 +181,7 @@ void TransitWorldGraph::GetTwinsInner(Segment const & segment, bool isOutgoing,
RoadGeometry const & TransitWorldGraph::GetRealRoadGeometry(NumMwmId mwmId, uint32_t featureId)
{
CHECK(!TransitGraph::IsTransitFeature(featureId), ("GetRealRoadGeometry not designed for transit."));
- return GetIndexGraph(mwmId).GetGeometry().GetRoad(featureId);
+ return m_indexLoader->GetGeometry(mwmId).GetRoad(featureId);
}
void TransitWorldGraph::AddRealEdges(Segment const & segment, bool isOutgoing,