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:
authorOlga Khlopkova <o.khlopkova@corp.mail.ru>2020-11-26 12:22:44 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2020-12-01 10:07:36 +0300
commit275296e75b7ceb0017a021bf5562e2683577bd26 (patch)
tree9a042609b6189020a98bf9a7a80d633db2b63d4b /routing
parentd82fa0f7b8a7d9ef24893c76b4c8a8f9cd9b6d35 (diff)
[routing] AreWavesConnectibleImpl in RegionsGraphMode.
Diffstat (limited to 'routing')
-rw-r--r--routing/single_vehicle_world_graph.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/routing/single_vehicle_world_graph.cpp b/routing/single_vehicle_world_graph.cpp
index 7eef09fc14..e269e0608a 100644
--- a/routing/single_vehicle_world_graph.cpp
+++ b/routing/single_vehicle_world_graph.cpp
@@ -278,6 +278,9 @@ SingleVehicleWorldGraph::AreWavesConnectibleImpl(Parents<VertexType> const & for
Parents<VertexType> const & backwardParents,
function<uint32_t(VertexType const &)> && fakeFeatureConverter)
{
+ if (IsRegionsGraphMode())
+ return true;
+
vector<VertexType> chain;
auto const fillUntilNextFeatureId = [&](VertexType const & cur, auto const & parents)
{