Skip to content

Commit

Permalink
remove 4 bytes packing of NodeBasedEdgeWithOSM due to alignment fails
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase committed Feb 5, 2017
1 parent c48fc58 commit f2663ac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/extractor/node_based_edge.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ struct NodeBasedEdge
guidance::RoadClassification road_classification;
};

#pragma pack(push, 4)
struct NodeBasedEdgeWithOSM : NodeBasedEdge
{
NodeBasedEdgeWithOSM(OSMNodeID source,
Expand All @@ -69,7 +68,6 @@ struct NodeBasedEdgeWithOSM : NodeBasedEdge
OSMNodeID osm_source_id;
OSMNodeID osm_target_id;
};
#pragma pack(pop)

// Impl.

Expand Down

0 comments on commit f2663ac

Please sign in to comment.