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. |
||
---|---|---|
.. | ||
assemble_geometry.hpp | ||
assemble_leg.hpp | ||
assemble_overview.hpp | ||
assemble_route.hpp | ||
assemble_steps.hpp | ||
lane_processing.hpp | ||
leg_geometry.hpp | ||
post_processing.hpp | ||
route_leg.hpp | ||
route_step.hpp | ||
route.hpp | ||
step_maneuver.hpp | ||
toolkit.hpp |