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:
authorMikhail Gorbushin <m.gorbushin@corp.mail.ru>2019-03-25 13:15:19 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2019-03-25 16:40:52 +0300
commit76fd815a47a0d5aa0d04ebbc823bd7962d2a4666 (patch)
tree2fab41582c1585e0842f00f3bb6061191a4ca435 /routing
parentac97784afd8254d2e724577c69c3d87749d5349b (diff)
[routing] review fixes
Diffstat (limited to 'routing')
-rw-r--r--routing/joint_segment.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/routing/joint_segment.cpp b/routing/joint_segment.cpp
index 66658a5724..1d5f79960d 100644
--- a/routing/joint_segment.cpp
+++ b/routing/joint_segment.cpp
@@ -1,5 +1,7 @@
#include "routing/joint_segment.hpp"
+#include "routing/fake_feature_ids.hpp"
+
#include "base/assert.hpp"
#include <sstream>
@@ -8,7 +10,7 @@ namespace routing
{
bool IsRealSegment(Segment const & segment)
{
- return segment.GetSegmentIdx() != std::numeric_limits<uint32_t>::max();
+ return segment.GetFeatureId() != FakeFeatureIds::kIndexGraphStarterId;
}
JointSegment::JointSegment(Segment const & from, Segment const & to)