Add Flatbuffers support to NodeJS bindings
This commit is contained in:
parent
b296165489
commit
53f418c494
@ -164,7 +164,7 @@ inline void async(const Nan::FunctionCallbackInfo<v8::Value> &info,
|
||||
osrm::engine::api::ResultT r;
|
||||
r = osrm::util::json::Object();
|
||||
const auto status = ((*osrm).*(service))(*params, r);
|
||||
auto json_result = r.get<osrm::json::Object>();
|
||||
auto &json_result = r.get<osrm::json::Object>();
|
||||
ParseResult(status, json_result);
|
||||
if (pluginParams.renderToBuffer)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user