Skip to content

[GEN][ZH] Fix iterator usage in projectileHandleCollision functions#728

Merged
xezon merged 2 commits into
TheSuperHackers:mainfrom
Mauller:mem_fixes_sh
Apr 27, 2025
Merged

[GEN][ZH] Fix iterator usage in projectileHandleCollision functions#728
xezon merged 2 commits into
TheSuperHackers:mainfrom
Mauller:mem_fixes_sh

Conversation

@Mauller

@Mauller Mauller commented Apr 20, 2025

Copy link
Copy Markdown

This problem was originaly discovered by @helmutbuhler and has been split out of the original PR.

This commit corrects iterator usage to conform with STL iterator behaviour instead of STLport behaviours.

@Mauller Mauller self-assigned this Apr 20, 2025
@Mauller Mauller added Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour Stability Concerns stability of the runtime labels Apr 20, 2025
@Mauller

Mauller commented Apr 23, 2025

Copy link
Copy Markdown
Author

Rebased with main so ready for merging

@xezon xezon left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We reviewed ContainedItemsList and no user adds null elements.

@xezon xezon changed the title [GEN][ZH] Fix projectileHandleColission iterator usage to conform to STL [GEN][ZH] Fix iterator usage in projectileHandleCollision functions Apr 26, 2025
@xezon xezon added the Fix Is fixing something, but is not user facing label Apr 26, 2025
@xezon xezon requested a review from feliwir April 26, 2025 22:37
Mauller and others added 2 commits April 27, 2025 07:46
…date to conform to STL

Co-authored-by: Helmut Buhler <buhler@8gadgetpack.net>
…ileBehavior to conform to STL

Co-authored-by: Helmut Buhler <buhler@8gadgetpack.net>
@Mauller

Mauller commented Apr 27, 2025

Copy link
Copy Markdown
Author

Tweaked commit descriptions to be more specific and to include coauthor

@xezon xezon dismissed feliwir’s stale review April 27, 2025 15:36

Review comments addressed.

@xezon xezon merged this pull request into TheSuperHackers:main Apr 27, 2025
@xezon xezon deleted the mem_fixes_sh branch April 27, 2025 15:39
xezon pushed a commit that referenced this pull request Apr 27, 2025
…date to conform to STL (#728)

Co-authored-by: Helmut Buhler <buhler@8gadgetpack.net>
xezon pushed a commit that referenced this pull request Apr 27, 2025
…ileBehavior to conform to STL (#728)

Co-authored-by: Helmut Buhler <buhler@8gadgetpack.net>
@xezon xezon added this to the Stability fixes milestone Apr 28, 2025
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Nov 10, 2025
…date to conform to STL (TheSuperHackers#728)

Co-authored-by: Helmut Buhler <buhler@8gadgetpack.net>
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Nov 10, 2025
…ileBehavior to conform to STL (TheSuperHackers#728)

Co-authored-by: Helmut Buhler <buhler@8gadgetpack.net>
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Feb 23, 2026
…date to conform to STL (TheSuperHackers#728)

Co-authored-by: Helmut Buhler <buhler@8gadgetpack.net>
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Feb 23, 2026
…ileBehavior to conform to STL (TheSuperHackers#728)

Co-authored-by: Helmut Buhler <buhler@8gadgetpack.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Is fixing something, but is not user facing Gen Relates to Generals Minor Severity: Minor < Major < Critical < Blocker Stability Concerns stability of the runtime ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants