Use std::unique_ptr for rgblink sections (#1337)

This commit is contained in:
Sylvie
2024-03-09 11:12:01 -05:00
committed by GitHub
parent 9890cf25b4
commit 4a7d333891
9 changed files with 102 additions and 114 deletions

View File

@@ -519,7 +519,7 @@ static void applyPatches(Section &section) {
if (!sect_HasData(section.type))
return;
for (Section *component = &section; component; component = component->nextu)
for (Section *component = &section; component; component = component->nextu.get())
applyFilePatches(*component, section);
}