Skip to content

Commit 50e275f

Browse files
committed
fixing warning refs #12
1 parent 691e200 commit 50e275f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/utils/shapes/ShapeContainer.h

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,14 @@ class ShapeContainer {
237237
*/
238238
class ShapeListener {
239239
public:
240-
virtual void polygonChanged(const SUMOPolygon* const poly, const bool added, const bool removed) {}
241-
virtual void poiChanged(const PointOfInterest* const poi, const bool added, const bool removed) {}
240+
virtual void polygonChanged(const SUMOPolygon* const poly, const bool added, const bool removed) {
241+
UNUSED_PARAMETER(poly);
242+
UNUSED_PARAMETER(added);
243+
UNUSED_PARAMETER(removed);
244+
}
245+
virtual void poiChanged(const PointOfInterest* const poi, const bool added, const bool removed) {
246+
UNUSED_PARAMETER(poi);
247+
UNUSED_PARAMETER(added);
248+
UNUSED_PARAMETER(removed);
249+
}
242250
};

0 commit comments

Comments
 (0)