| 81 | } |
| 82 | |
| 83 | optional<RoutingOptions::Road> RoutingOptionsClassifier::Get(uint32_t type) const |
| 84 | { |
| 85 | ftype::TruncValue(type, 2); // in case of highway-motorway-bridge |
| 86 | |
| 87 | auto const it = m_data.find(type); |
| 88 | if (it != m_data.cend()) |
| 89 | return it->second; |
| 90 | return {}; |
| 91 | } |
| 92 | |
| 93 | RoutingOptionsClassifier const & RoutingOptionsClassifier::Instance() |
| 94 | { |
no test coverage detected