diff --git a/routing/index_router.cpp b/routing/index_router.cpp index ec7784e2b3..bfe7448116 100644 --- a/routing/index_router.cpp +++ b/routing/index_router.cpp @@ -128,13 +128,10 @@ unique_ptr CreateDirectionsEngine(VehicleType vehicleType, UNREACHABLE(); } -shared_ptr CreateTrafficStash(VehicleType vehicleType, shared_ptr numMwmIds, - traffic::TrafficCache const & trafficCache) +shared_ptr CreateTrafficStash(VehicleType, shared_ptr, traffic::TrafficCache const &) { - if (vehicleType != VehicleType::Car) - return nullptr; - - return make_shared(trafficCache, numMwmIds); + return nullptr; + //return (vehicleType == VehicleType::Car ? make_shared(trafficCache, numMwmIds) : nullptr); } /// \returns true if the mwm is ready for index graph routing and cross mwm index graph routing.