Skip to content

Commit

Permalink
Fixed warning. Refs #12
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Nov 8, 2024
1 parent 45330c5 commit 19ccfbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/xml/CommonXMLStructure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ void
CommonXMLStructure::abortSUMOBaseOBject() {
// delete current sumo base object and use their parent as sumo base object
if (myCurrentSumoBaseObject) {
if (mySumoBaseObjectRoot == mySumoBaseObjectRoot) {
if (myCurrentSumoBaseObject == mySumoBaseObjectRoot) {
delete myCurrentSumoBaseObject;
myCurrentSumoBaseObject = nullptr;
mySumoBaseObjectRoot = nullptr;
Expand Down

0 comments on commit 19ccfbc

Please sign in to comment.