| 93 | }; |
| 94 | |
| 95 | Status Error(const std::string &code, |
| 96 | const std::string &message, |
| 97 | osrm::engine::api::ResultT &result) const |
| 98 | { |
| 99 | std::visit(ErrorRenderer(code, message), result); |
| 100 | return Status::Error; |
| 101 | } |
| 102 | |
| 103 | // Decides whether to use the phantom candidates from big or small components if both are found. |
| 104 | std::vector<PhantomNodeCandidates> |
nothing calls this directly
no test coverage detected