mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Use std::unique_ptr for rgblink sections (#1337)
This commit is contained in:
@@ -519,7 +519,7 @@ static void applyPatches(Section §ion) {
|
||||
if (!sect_HasData(section.type))
|
||||
return;
|
||||
|
||||
for (Section *component = §ion; component; component = component->nextu)
|
||||
for (Section *component = §ion; component; component = component->nextu.get())
|
||||
applyFilePatches(*component, section);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user