From a15450af914b04e35bd2fa12c11571dd8b353187 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Fri, 23 Jan 2015 14:24:02 +0100 Subject: [PATCH] manually revert previous change as g++ doesnt convert bitfields properly --- data_structures/segment_information.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data_structures/segment_information.hpp b/data_structures/segment_information.hpp index d9f84e089..5729380cc 100644 --- a/data_structures/segment_information.hpp +++ b/data_structures/segment_information.hpp @@ -44,9 +44,9 @@ struct SegmentInformation float length; short bearing; // more than enough [0..3600] fits into 12 bits TurnInstruction turn_instruction; - TravelMode travel_mode : 4; - bool necessary : 1; - bool is_via_location : 1; + TravelMode travel_mode; + bool necessary; + bool is_via_location; explicit SegmentInformation(const FixedPointCoordinate &location, const NodeID name_id,