Skip to content

Commit

Permalink
Minor change to XML file writing function. UniqueIDColor::next_free_u…
Browse files Browse the repository at this point in the history
…id_number now resets at the end.
  • Loading branch information
dyc0 committed Mar 7, 2022
1 parent 6e49019 commit 0bcb760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input-and-output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void save_complex_to_xml_file(SimpComp* simpComp, const string& filename)
delete toBeDeleted;
}
}

UniqueIDColor::next_free_uid_number = currentMaxid;

ofstream outputFile;
outputFile.open(filename);
Expand Down

0 comments on commit 0bcb760

Please sign in to comment.