Skip to content

Commit

Permalink
Fix #4556
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo authored and palvarezlopez committed Sep 11, 2018
1 parent f6c5e7d commit 81027c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/microsim/devices/MSDevice_SSM.cpp
Expand Up @@ -2530,7 +2530,7 @@ MSDevice_SSM::findSurroundingVehicles(const MSVehicle& veh, double range, FoeInf
}

void
MSDevice_SSM::getUpstreamVehicles(const MSEdge* edge, double pos, double range, double egoDistToConflictLane, const MSLane* const egoConflictLane, FoeInfoMap& foeCollector, std::set<const MSJunction*> seenJunctions) {
MSDevice_SSM::getUpstreamVehicles(const MSEdge* edge, double pos, double range, double egoDistToConflictLane, const MSLane* const egoConflictLane, FoeInfoMap& foeCollector, std::set<const MSJunction*>& seenJunctions) {
#ifdef DEBUG_SSM_SURROUNDING
std::cout << SIMTIME << " getUpstreamVehicles() for edge '" << edge->getID() << "'"
<< " pos = " << pos << " range = " << range
Expand Down
2 changes: 1 addition & 1 deletion src/microsim/devices/MSDevice_SSM.h
Expand Up @@ -351,7 +351,7 @@ class MSDevice_SSM : public MSDevice {

/** @brief Collects all vehicles within range 'range' upstream of the position 'pos' on the edge 'edge' into foeCollector
*/
static void getUpstreamVehicles(const MSEdge* edge, double pos, double range, double egoDistToConflictLane, const MSLane* const egoConflictLane, FoeInfoMap& foeCollector, std::set<const MSJunction*> seenJunctions);
static void getUpstreamVehicles(const MSEdge* edge, double pos, double range, double egoDistToConflictLane, const MSLane* const egoConflictLane, FoeInfoMap& foeCollector, std::set<const MSJunction*>& seenJunctions);

/** @brief Collects all vehicles on the junction into foeCollector
*/
Expand Down

0 comments on commit 81027c2

Please sign in to comment.