2019-08-02 10:40:55 -04:00
|
|
|
#ifndef ENGINE_API_BASE_RESULT_HPP
|
|
|
|
#define ENGINE_API_BASE_RESULT_HPP
|
|
|
|
|
2019-08-05 06:46:13 -04:00
|
|
|
#include <flatbuffers/flatbuffers.h>
|
2019-08-02 10:40:55 -04:00
|
|
|
#include <mapbox/variant.hpp>
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "util/json_container.hpp"
|
|
|
|
|
2022-12-11 04:10:26 -05:00
|
|
|
namespace osrm::engine::api
|
2019-08-02 10:40:55 -04:00
|
|
|
{
|
2019-08-15 04:40:23 -04:00
|
|
|
using ResultT =
|
|
|
|
mapbox::util::variant<util::json::Object, std::string, flatbuffers::FlatBufferBuilder>;
|
2020-11-26 10:21:39 -05:00
|
|
|
} // namespace osrm
|
2019-08-02 10:40:55 -04:00
|
|
|
|
|
|
|
#endif
|