Skip to content

Commit a2c1dd7

Browse files
committed
Fixed build after merging. Refs #17321
1 parent d605f03 commit a2c1dd7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/netedit/elements/additional/GNEAdditionalHandler.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,7 @@ GNEAdditionalHandler::buildPOI(const CommonXMLStructure::SumoBaseObject* /*sumoB
16391639
// parse icon
16401640
const POIIcon ic = SUMOXMLDefinitions::POIIcons.hasString(icon) ? SUMOXMLDefinitions::POIIcons.get(icon) : POIIcon::NONE;
16411641
// create POI
1642-
GNEPOI* POI = new GNEPOI(id, myNet, myFileBucket, type, color, pos, false, POIIcon, layer, angle, imgFile, width, height, name, parameters);
1642+
GNEPOI* POI = new GNEPOI(id, myNet, myFileBucket, type, color, pos, false, ic, layer, angle, imgFile, width, height, name, parameters);
16431643
// add it depending of allow undoRed
16441644
if (myAllowUndoRedo) {
16451645
myNet->getUndoList()->begin(POI, TLF("add POI '%'", id));
@@ -1684,7 +1684,7 @@ GNEAdditionalHandler::buildPOILane(const CommonXMLStructure::SumoBaseObject* /*s
16841684
// parse icon
16851685
const POIIcon ic = SUMOXMLDefinitions::POIIcons.hasString(icon) ? SUMOXMLDefinitions::POIIcons.get(icon) : POIIcon::NONE;
16861686
// create POI (use GNEAdditional instead GNEPOI for add child references)
1687-
GNEAdditional* POILane = new GNEPOI(id, myNet, myFileBucket, type, color, lane, posOverLane, friendlyPos, posLat, POIIcon, layer,
1687+
GNEAdditional* POILane = new GNEPOI(id, myNet, myFileBucket, type, color, lane, posOverLane, friendlyPos, posLat, ic, layer,
16881688
angle, imgFile, width, height, name, parameters);
16891689
// add it depending of allow undoRed
16901690
if (myAllowUndoRedo) {
@@ -1728,7 +1728,7 @@ GNEAdditionalHandler::buildPOIGeo(const CommonXMLStructure::SumoBaseObject* /*su
17281728
// parse icon
17291729
const POIIcon ic = SUMOXMLDefinitions::POIIcons.hasString(icon) ? SUMOXMLDefinitions::POIIcons.get(icon) : POIIcon::NONE;
17301730
// create POIGEO
1731-
GNEPOI* POIGEO = new GNEPOI(id, myNet, myFileBucket, type, color, pos, true, POIIcon, layer, angle, imgFile, width, height, name, parameters);
1731+
GNEPOI* POIGEO = new GNEPOI(id, myNet, myFileBucket, type, color, pos, true, ic, layer, angle, imgFile, width, height, name, parameters);
17321732
// add it depending of allow undoRed
17331733
if (myAllowUndoRedo) {
17341734
myNet->getUndoList()->begin(POIGEO, TLF("add POI GEO '%'", id));

0 commit comments

Comments
 (0)