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:
authorYuri Gorshenin <y@maps.me>2016-09-13 23:00:40 +0300
committerYuri Gorshenin <y@maps.me>2016-09-14 18:04:35 +0300
commita41dc789d13150bbf0b25d64d44df5d1809d0585 (patch)
treeba558bb5c6e7ae100ea90dd4488a77e090f3eac4 /routing/directions_engine.cpp
parent46193618b6d2b93c533149c40b775f0db96e2e08 (diff)
[routing] Fixed fake edges construction.
Diffstat (limited to 'routing/directions_engine.cpp')
-rw-r--r--routing/directions_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/routing/directions_engine.cpp b/routing/directions_engine.cpp
index 6b162e5d51..53d5ed602a 100644
--- a/routing/directions_engine.cpp
+++ b/routing/directions_engine.cpp
@@ -13,7 +13,7 @@ void IDirectionsEngine::CalculateTimes(IRoadGraph const & graph, vector<Junction
Route::TTimes & times) const
{
times.clear();
- if (path.size() <= 1)
+ if (path.size() < 1)
return;
// graph.GetMaxSpeedKMPH() below is used on purpose.