Skip to content

Commit

Permalink
fixing initialization refs #21, #4252
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Jun 30, 2021
1 parent b5d398e commit 4ce62cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/netbuild/NBEdge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ NBEdge::Connection::Connection(int fromLane_, NBEdge* toEdge_, int toLane_) :
permissions(SVC_UNSPECIFIED),
changeLeft(SVC_UNSPECIFIED),
changeRight(SVC_UNSPECIFIED),
indirectLeft(false),
id(toEdge_ == nullptr ? "" : toEdge->getFromNode()->getID()),
haveVia(false),
internalLaneIndex(UNSPECIFIED_INTERNAL_LANE_INDEX),
Expand All @@ -134,6 +135,7 @@ NBEdge::Connection::Connection(int fromLane_, NBEdge* toEdge_, int toLane_, bool
permissions(permissions_),
changeLeft(changeLeft_),
changeRight(changeRight_),
indirectLeft(false),
id(toEdge_ == nullptr ? "" : toEdge->getFromNode()->getID()),
vmax(UNSPECIFIED_SPEED),
haveVia(haveVia_),
Expand Down

0 comments on commit 4ce62cd

Please sign in to comment.