Same as defaults except trunk and trunk link are not allowed.
| 101 | |
| 102 | // Same as defaults except trunk and trunk link are not allowed. |
| 103 | VehicleModel::LimitsInitList NoTrunk() |
| 104 | { |
| 105 | VehicleModel::LimitsInitList res; |
| 106 | res.reserve(kDefaultOptions.size() - 2); |
| 107 | for (auto const & e : kDefaultOptions) |
| 108 | if (e.m_type != HighwayType::HighwayTrunk && e.m_type != HighwayType::HighwayTrunkLink) |
| 109 | res.push_back(e); |
| 110 | return res; |
| 111 | } |
| 112 | |
| 113 | VehicleModel::LimitsInitList YesCycleway(VehicleModel::LimitsInitList res = kDefaultOptions) |
| 114 | { |
no test coverage detected