From 1945aae4dcb85947c8e68d75818ad316f4d35311 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 18 Aug 2014 16:27:51 +0200 Subject: [PATCH] reorder members of SegmentInformation, remove bit fields where possible --- DataStructures/SegmentInformation.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DataStructures/SegmentInformation.h b/DataStructures/SegmentInformation.h index 6d5fca36b..8e9b047e3 100644 --- a/DataStructures/SegmentInformation.h +++ b/DataStructures/SegmentInformation.h @@ -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,