Fixed missing initialization that gave wrong indication of alternative
routes
This commit is contained in:
parent
cf1e2fa930
commit
5ef3b12673
@ -29,6 +29,7 @@ struct RawRouteData {
|
|||||||
unsigned checkSum;
|
unsigned checkSum;
|
||||||
int lengthOfShortestPath;
|
int lengthOfShortestPath;
|
||||||
int lengthOfAlternativePath;
|
int lengthOfAlternativePath;
|
||||||
|
RawRouteData() : checkSum(UINT_MAX), lengthOfShortestPath(INT_MAX), lengthOfAlternativePath(INT_MAX) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* RAWROUTEDATA_H_ */
|
#endif /* RAWROUTEDATA_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user