diff --git a/routing/index_graph_starter.cpp b/routing/index_graph_starter.cpp index 5f31d0fc8a..a30618aa2f 100644 --- a/routing/index_graph_starter.cpp +++ b/routing/index_graph_starter.cpp @@ -25,9 +25,9 @@ Segment constexpr IndexGraphStarter::kFinishFakeSegment; IndexGraphStarter::IndexGraphStarter(FakeVertex const & start, FakeVertex const & finish, WorldGraph & graph) : m_graph(graph) , m_start(start.GetSegment(), - CalcProjectionToSegment(start.GetSegment(), start.GetPoint(), graph), start.GetSoft()) + CalcProjectionToSegment(start.GetSegment(), start.GetPoint(), graph), start.IsSoft()) , m_finish(finish.GetSegment(), - CalcProjectionToSegment(finish.GetSegment(), finish.GetPoint(), graph), finish.GetSoft()) + CalcProjectionToSegment(finish.GetSegment(), finish.GetPoint(), graph), finish.IsSoft()) { } @@ -98,7 +98,7 @@ void IndexGraphStarter::GetEdgesList(Segment const & segment, bool isOutgoing, void IndexGraphStarter::GetFakeToNormalEdges(FakeVertex const & fakeVertex, bool isOutgoing, vector & edges) { - if (!fakeVertex.GetSoft()) + if (!fakeVertex.IsSoft()) { GetFakeToNormalEdge(fakeVertex, fakeVertex.GetSegment().IsForward(), edges); return; diff --git a/routing/index_graph_starter.hpp b/routing/index_graph_starter.hpp index 5754cf642c..8498df6414 100644 --- a/routing/index_graph_starter.hpp +++ b/routing/index_graph_starter.hpp @@ -37,7 +37,7 @@ public: uint32_t GetFeatureId() const { return m_segment.GetFeatureId(); } m2::PointD const & GetPoint() const { return m_point; } Segment const & GetSegment() const { return m_segment; } - bool GetSoft() const { return m_soft; } + bool IsSoft() const { return m_soft; } Segment GetSegmentWithDirection(bool forward) const {