fix coverity issues

This commit is contained in:
Dennis Luxen
2014-05-01 14:31:48 +02:00
parent a45d274847
commit a45508a96b
2 changed files with 12 additions and 17 deletions
+4 -4
View File
@@ -110,10 +110,10 @@ public:
private:
struct NodeBasedEdgeData {
NodeBasedEdgeData() {
//TODO: proper c'tor
edgeBasedNodeID = UINT_MAX;
}
NodeBasedEdgeData() : distance(INVALID_EDGE_WEIGHT), edgeBasedNodeID(SPECIAL_NODEID), nameID(std::numeric_limits<unsigned>::max()),
type(std::numeric_limits<short>::max()), isAccessRestricted(false), shortcut(false), forward(false), backward(false),
roundabout(false), ignore_in_grid(false), contraFlow(false)
{ }
int distance;
unsigned edgeBasedNodeID;