From 9da4e18099fae716e55c6345fca9c23bfc4f37dc Mon Sep 17 00:00:00 2001 From: DennisOSRM Date: Fri, 18 Jan 2013 18:59:38 +0100 Subject: [PATCH] Reordering padded struct --- Contractor/EdgeBasedGraphFactory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Contractor/EdgeBasedGraphFactory.h b/Contractor/EdgeBasedGraphFactory.h index 62a119e81..2b4c18d7f 100644 --- a/Contractor/EdgeBasedGraphFactory.h +++ b/Contractor/EdgeBasedGraphFactory.h @@ -53,14 +53,14 @@ private: struct _NodeBasedEdgeData { int distance; unsigned edgeBasedNodeID; - unsigned nameID:31; + unsigned nameID; + short type; + bool isAccessRestricted; bool shortcut:1; bool forward:1; bool backward:1; bool roundabout:1; bool ignoreInGrid:1; - short type; - bool isAccessRestricted; }; struct _EdgeBasedEdgeData {