adjust testscases for collapse of use lane
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
#ifndef OSRM_ATTRIBUTES_HPP_
|
||||
#define OSRM_ATTRIBUTES_HPP_
|
||||
|
||||
|
||||
// OSRM_ATTR_WARN_UNUSED - caller has to use function's return value
|
||||
// https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
||||
#define OSRM_ATTR_WARN_UNUSED __attribute__ ((warn_unused_result))
|
||||
#define OSRM_ATTR_WARN_UNUSED __attribute__((warn_unused_result))
|
||||
#else
|
||||
#define OSRM_ATTR_WARN_UNUSED
|
||||
#define OSRM_ATTR_WARN_UNUSED
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -30,8 +30,7 @@ inline void print(const engine::guidance::RouteStep &step)
|
||||
for (const auto &intersection : step.intersections)
|
||||
{
|
||||
std::cout << "(Lanes: " << static_cast<int>(intersection.lanes.lanes_in_turn) << " "
|
||||
<< static_cast<int>(intersection.lanes.first_lane_from_the_right)
|
||||
<< " bearings:";
|
||||
<< static_cast<int>(intersection.lanes.first_lane_from_the_right) << " bearings:";
|
||||
for (auto bearing : intersection.bearings)
|
||||
std::cout << " " << bearing;
|
||||
std::cout << ", entry: ";
|
||||
|
||||
Reference in New Issue
Block a user