Minor change: simplifying code.
This commit is contained in:
parent
1262600895
commit
8e9461ea6a
@ -426,10 +426,10 @@ int main (int argc, char *argv[]) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
fout.write((char*)&intWeight, sizeof(int));
|
fout.write((char*)&intWeight, sizeof(int));
|
||||||
short edgeType = edgeIT->type;
|
assert(edgeIT->type >= 0);
|
||||||
fout.write((char*)&edgeType, sizeof(short));
|
fout.write((char*)&edgeIT->type, sizeof(short));
|
||||||
fout.write((char*)&edgeIT->nameID, sizeof(unsigned));
|
fout.write((char*)&edgeIT->nameID, sizeof(unsigned));
|
||||||
fout.write((char *)&edgeIT->isRoundabout, sizeof(bool));
|
fout.write((char*)&edgeIT->isRoundabout, sizeof(bool));
|
||||||
}
|
}
|
||||||
++usedEdgeCounter;
|
++usedEdgeCounter;
|
||||||
++edgeIT;
|
++edgeIT;
|
||||||
@ -501,4 +501,3 @@ bool wayFunction(_Way w) {
|
|||||||
extractCallBacks->wayFunction(w);
|
extractCallBacks->wayFunction(w);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user