remove 4 bytes packing of NodeBasedEdgeWithOSM due to alignment fails
This commit is contained in:
parent
c48fc58eb2
commit
f2663acfc6
@ -48,7 +48,6 @@ struct NodeBasedEdge
|
|||||||
guidance::RoadClassification road_classification;
|
guidance::RoadClassification road_classification;
|
||||||
};
|
};
|
||||||
|
|
||||||
#pragma pack(push, 4)
|
|
||||||
struct NodeBasedEdgeWithOSM : NodeBasedEdge
|
struct NodeBasedEdgeWithOSM : NodeBasedEdge
|
||||||
{
|
{
|
||||||
NodeBasedEdgeWithOSM(OSMNodeID source,
|
NodeBasedEdgeWithOSM(OSMNodeID source,
|
||||||
@ -69,7 +68,6 @@ struct NodeBasedEdgeWithOSM : NodeBasedEdge
|
|||||||
OSMNodeID osm_source_id;
|
OSMNodeID osm_source_id;
|
||||||
OSMNodeID osm_target_id;
|
OSMNodeID osm_target_id;
|
||||||
};
|
};
|
||||||
#pragma pack(pop)
|
|
||||||
|
|
||||||
// Impl.
|
// Impl.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user