| 95 | } |
| 96 | |
| 97 | bool IsRestrictionFromRoads(IndexGraph const & graph, std::vector<uint32_t> const & restriction) |
| 98 | { |
| 99 | for (auto const & featureId : restriction) |
| 100 | if (!graph.IsRoad(featureId)) |
| 101 | return false; |
| 102 | |
| 103 | return true; |
| 104 | } |
| 105 | |
| 106 | /// \brief We store |Only| restriction in mwm, like |
| 107 | /// Only, featureId_1, ... , featureId_N |
no test coverage detected