Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not use end() iterators #508

Merged
merged 3 commits into from
Nov 21, 2021
Merged

Conversation

mmomtchev
Copy link
Contributor

Tentative fix for #490

It avoids using the end() iterator which, under a very strict interpretation of the C++ specifications, should be invalid after an emplace_back

@pramsey pramsey merged commit 8455871 into libgeos:main Nov 21, 2021
@pramsey
Copy link
Member

pramsey commented Nov 21, 2021

Thanks!

@mmomtchev mmomtchev deleted the iter_invalidation branch November 22, 2021 20:47
pramsey pushed a commit to pramsey/geos that referenced this pull request Nov 24, 2021
pramsey added a commit to pramsey/geos that referenced this pull request Nov 24, 2021
@pramsey pramsey mentioned this pull request Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants