osrm-backend/include/engine/api/base_result.hpp

18 lines
360 B
C++
Raw Normal View History

#ifndef ENGINE_API_BASE_RESULT_HPP
#define ENGINE_API_BASE_RESULT_HPP
#include <flatbuffers/flatbuffers.h>
#include <mapbox/variant.hpp>
#include <string>
#include "util/json_container.hpp"
namespace osrm::engine::api
{
2019-08-15 04:40:23 -04:00
using ResultT =
mapbox::util::variant<util::json::Object, std::string, flatbuffers::FlatBufferBuilder>;
} // namespace osrm
#endif