Added flatbuffers support to the PluginBase::Error
This changes BREAKS osrm.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef ENGINE_API_BASE_RESULT_HPP
|
||||
#define ENGINE_API_BASE_RESULT_HPP
|
||||
|
||||
#include <flatbuffers/flatbuffers.h>
|
||||
#include <mapbox/variant.hpp>
|
||||
|
||||
#include <string>
|
||||
@@ -13,7 +14,7 @@ namespace engine
|
||||
{
|
||||
namespace api
|
||||
{
|
||||
using ResultT = mapbox::util::variant<util::json::Object, std::string>;
|
||||
using ResultT = mapbox::util::variant<util::json::Object, std::string, flatbuffers::FlatBufferBuilder>;
|
||||
} // ns api
|
||||
} // ns engine
|
||||
} // ns osrm
|
||||
|
||||
Reference in New Issue
Block a user