Skip to content

more const_iterator usage#6761

Merged
chrchr-github merged 1 commit into
cppcheck-opensource:mainfrom
firewave:const_it
Sep 2, 2024
Merged

more const_iterator usage#6761
chrchr-github merged 1 commit into
cppcheck-opensource:mainfrom
firewave:const_it

Conversation

@firewave

@firewave firewave commented Sep 1, 2024

Copy link
Copy Markdown
Collaborator

if you are only modifying the container itself and not the actual contents you can still use const_iterator.

@chrchr-github

Copy link
Copy Markdown
Collaborator

This makes a great opportunity to use auto...

@firewave

firewave commented Sep 2, 2024

Copy link
Copy Markdown
Collaborator Author

This makes a great opportunity to use auto...

Will do a follow-up where I do that to the whole code base.

@chrchr-github chrchr-github merged commit 01f9aa3 into cppcheck-opensource:main Sep 2, 2024
@firewave firewave deleted the const_it branch September 2, 2024 11:15
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