diff --git a/routing/regions_router.cpp b/routing/regions_router.cpp index dea7173d00..e427dce950 100644 --- a/routing/regions_router.cpp +++ b/routing/regions_router.cpp @@ -96,7 +96,7 @@ void RegionsRouter::Do() if (!finishFakeEnding) return; - IndexGraphStarter subrouteStarter(startFakeEnding.value(), finishFakeEnding.value(), + IndexGraphStarter subrouteStarter(*startFakeEnding, *finishFakeEnding, fakeNumerationStart, false /* isStartSegmentStrictForward */, *graph);