wip
This commit is contained in:
parent
e917e314b5
commit
423154f802
10
.github/workflows/osrm-backend.yml
vendored
10
.github/workflows/osrm-backend.yml
vendored
@ -673,8 +673,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python3 pr/scripts/ci/post_benchmark_results.py base_results pr_results
|
python3 pr/scripts/ci/post_benchmark_results.py base_results pr_results
|
||||||
|
|
||||||
ci-complete:
|
# ci-complete:
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
needs: [build-test-publish, docker-image, windows-release-node, benchmarks]
|
# needs: [build-test-publish, docker-image, windows-release-node, benchmarks]
|
||||||
steps:
|
# steps:
|
||||||
- run: echo "CI complete"
|
# - run: echo "CI complete"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#ifndef RESTRICTION_HPP
|
#ifndef RESTRICTION_HPP
|
||||||
#define RESTRICTION_HPP
|
#define RESTRICTION_HPP
|
||||||
|
|
||||||
|
#include "turn_path.hpp"
|
||||||
#include "util/coordinate.hpp"
|
#include "util/coordinate.hpp"
|
||||||
#include "util/opening_hours.hpp"
|
#include "util/opening_hours.hpp"
|
||||||
#include "util/typedefs.hpp"
|
#include "util/typedefs.hpp"
|
||||||
#include "turn_path.hpp"
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
namespace osrm::extractor
|
namespace osrm::extractor
|
||||||
|
@ -58,8 +58,10 @@ struct CoordinateToJsonArray
|
|||||||
util::json::Array operator()(const util::Coordinate coordinate)
|
util::json::Array operator()(const util::Coordinate coordinate)
|
||||||
{
|
{
|
||||||
util::json::Array json_coordinate;
|
util::json::Array json_coordinate;
|
||||||
json_coordinate.values.emplace_back(util::json::Number{static_cast<double>(toFloating(coordinate.lon))});
|
json_coordinate.values.emplace_back(
|
||||||
json_coordinate.values.emplace_back(util::json::Number{static_cast<double>(toFloating(coordinate.lat))});
|
util::json::Number{static_cast<double>(toFloating(coordinate.lon))});
|
||||||
|
json_coordinate.values.emplace_back(
|
||||||
|
util::json::Number{static_cast<double>(toFloating(coordinate.lat))});
|
||||||
return json_coordinate;
|
return json_coordinate;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user