Fixed missing initialization that gave wrong indication of alternative
routes
This commit is contained in:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user