Skip to content

Commit

Permalink
fixing warnings #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Dec 21, 2023
1 parent b97c425 commit fba75eb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/microsim/transportables/MSTransportable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ MSTransportable::setSpeed(double speed) {


bool
MSTransportable::replaceRoute(ConstMSRoutePtr newRoute, const std::string& info, bool onInit, int offset, bool addRouteStops, bool removeStops, std::string* msgReturn) {
MSTransportable::replaceRoute(ConstMSRoutePtr newRoute, const std::string& /* info */, bool /* onInit */, int /* offset */, bool /* addRouteStops */, bool /* removeStops */, std::string* /* msgReturn */) {
const ConstMSEdgeVector& edges = newRoute->getEdges();
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEAdditional.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ GNEAdditional::checkChildAdditionalRestriction() const {
void
GNEAdditional::drawSemiCircleGeometryPoint(const GUIVisualizationSettings& s, const GUIVisualizationSettings::Detail d,
const Position& pos, const double rot, const RGBColor& baseColor, const double fromAngle, const double toAngle,
const bool ignoreShift) const {
const bool /* ignoreShift */) const {
// check if draw geometry point
if (!s.drawForViewObjectsHandler && (d <= GUIVisualizationSettings::Detail::GeometryPoint)) {
// push matrix
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEPOI.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class GNEPOI : public PointOfInterest, public GNEAdditional {
/// @{

/// @brief check if draw move contour (red)
bool checkDrawMoveContour() const;
bool checkDrawMoveContour() const override;

/// @}

Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEPoly.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class GNEPoly : public TesselatedPolygon, public GNEAdditional {
/// @{

/// @brief check if draw move contour (red)
bool checkDrawMoveContour() const;
bool checkDrawMoveContour() const override;

/// @}

Expand Down
1 change: 0 additions & 1 deletion src/netedit/elements/additional/GNETAZ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ GNETAZ::drawGL(const GUIVisualizationSettings& s) const {
const bool drawFill = (myNet->getViewNet()->getEditModes().isCurrentSupermodeData() && myNet->getViewNet()->getDataViewOptions().TAZDrawFill()) ? true : getFill();
// get colors
const RGBColor color = GUIPolygon::setColor(s, this, this, drawUsingSelectColor(), -1);
const RGBColor invertedColor = color.invertedColor();
const RGBColor darkerColor = color.changedBrightness(-32);
// push layer matrix
GLHelper::pushMatrix();
Expand Down

0 comments on commit fba75eb

Please sign in to comment.