reorder members of SegmentInformation, remove bit fields where possible

This commit is contained in:
Dennis Luxen 2014-08-18 16:27:51 +02:00 committed by Emil Tin
parent 30362cfc0c
commit 1945aae4dc

View File

@ -44,10 +44,10 @@ struct SegmentInformation
float length;
short bearing; // more than enough [0..3600] fits into 12 bits
TurnInstruction turn_instruction;
bool necessary:1;
bool is_via_location:1;
TravelMode travel_mode;
TravelMode travel_mode;
bool necessary;
bool is_via_location;
explicit SegmentInformation(const FixedPointCoordinate &location,
const NodeID name_id,
const EdgeWeight duration,