Fixed missing initialization that gave wrong indication of alternative

routes
This commit is contained in:
DennisOSRM 2012-07-10 14:51:35 +02:00
parent cf1e2fa930
commit 5ef3b12673

View File

@ -29,6 +29,7 @@ struct RawRouteData {
unsigned checkSum;
int lengthOfShortestPath;
int lengthOfAlternativePath;
RawRouteData() : checkSum(UINT_MAX), lengthOfShortestPath(INT_MAX), lengthOfAlternativePath(INT_MAX) {}
};
#endif /* RAWROUTEDATA_H_ */