osrm-backend/include/extractor/guidance
Daniel J. Hofmann 7f71f0ed12 Warn on unused return values in guidance code, resolves #2686.
https://github.com/Project-OSRM/osrm-backend/pull/2685/files

fixes an issue where we did

    elongate(fstStep, sndStep);

instead of

    newStep = elongate(fstStep, sndStep);

we didn't get any warnings.

The only way to trigger a warning here is to use

```cpp
__attribute__((warn_unused_result))
```

This changeset does exactly that: for the new guidance code prone to
these kind of issue we add such an attribute to the declaration.
2016-08-03 12:26:07 +02:00
..
constants.hpp change paradigm of merge to only emit on motorway-like roads 2016-07-30 23:55:39 +02:00
discrete_angle.hpp Use stdint and using type-alias for discrete angle 2016-04-05 22:58:32 +02:00
intersection_generator.hpp Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
intersection_handler.hpp improve sliproad / fork handling 2016-07-22 15:16:59 +02:00
intersection_scenario_three_way.hpp improve sliproad / fork handling 2016-07-22 15:16:59 +02:00
intersection.hpp Implement Turn Lane Api 2016-06-27 10:07:48 +02:00
motorway_handler.hpp Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
road_classification.hpp Apply clang-format again 2016-07-26 15:00:58 +02:00
roundabout_handler.hpp improve sliproad / fork handling 2016-07-22 15:16:59 +02:00
roundabout_type.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
sliproad_handler.hpp Apply clang-format again 2016-07-26 15:00:58 +02:00
toolkit.hpp Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
turn_analysis.hpp improve sliproad / fork handling 2016-07-22 15:16:59 +02:00
turn_classification.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
turn_discovery.hpp basic turn lane handling 2016-06-27 10:07:41 +02:00
turn_handler.hpp Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
turn_instruction.hpp Implement Turn Lane Api 2016-06-27 10:07:48 +02:00
turn_lane_augmentation.hpp Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
turn_lane_data.hpp Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
turn_lane_handler.hpp Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
turn_lane_matcher.hpp Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
turn_lane_types.hpp Apply clang-format again 2016-07-26 15:00:58 +02:00