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