Skip to content

Commit

Permalink
fixing some warnings refs #12
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/behr_mi/git/sumo_synched/trunk/sumo@16314 afbd958f-9f77-42d5-a016-97a22340ccf4
  • Loading branch information
namdre committed May 7, 2014
1 parent aa4c4b0 commit 46bf1a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/microsim/MSPModel_NonInteracting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ MSPModel_NonInteracting::add(MSPerson* person, MSPerson::MSPersonStage_Walking*


bool
MSPModel_NonInteracting::blockedAtDist(const MSLane* lane, SUMOReal distToCrossing, std::vector<const MSPerson*>* collectBlockers) {
MSPModel_NonInteracting::blockedAtDist(const MSLane*, SUMOReal, std::vector<const MSPerson*>*) {
return false;
}

Expand Down
2 changes: 2 additions & 0 deletions src/netbuild/NBNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <utility>
#include <string>
#include <set>
#include <utils/common/StdDefs.h>
#include <utils/common/Named.h>
#include <utils/geom/Bresenham.h>
#include <utils/common/VectorHelper.h>
Expand Down Expand Up @@ -603,6 +604,7 @@ class NBNode : public Named {
public:
explicit edge_by_direction_sorter(NBNode* n) : myNode(n) {}
int operator()(NBEdge* e1, NBEdge* e2) const {
UNUSED_PARAMETER(e2);
return e1->getFromNode() == myNode;
}

Expand Down
6 changes: 5 additions & 1 deletion src/netbuild/NBTrafficLightDefinition.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <bitset>
#include <utility>
#include <set>
#include <utils/common/StdDefs.h>
#include <utils/common/Named.h>
#include <utils/common/VectorHelper.h>
#include <utils/common/SUMOTime.h>
Expand Down Expand Up @@ -276,7 +277,10 @@ class NBTrafficLightDefinition : public Named, public Parameterised {
NBEdge* by, int byLane) = 0;

/// @brief patches (loaded) signal plans by modifying lane indices
virtual void shiftTLConnectionLaneIndex(NBEdge* edge, int offset) {}
virtual void shiftTLConnectionLaneIndex(NBEdge* edge, int offset) {
UNUSED_PARAMETER(edge);
UNUSED_PARAMETER(offset);
}

/** @brief returns the information whether the given link is a left-mover
* @param[in] from The connection's start edge
Expand Down

0 comments on commit 46bf1a9

Please sign in to comment.