Skip to content

Fix #12546 new check: suggest to return const reference from "getter" member function#6256

Merged
chrchr-github merged 23 commits intocppcheck-opensource:mainfrom
chrchr-github:chr_Fix12546
Apr 10, 2024
Merged

Fix #12546 new check: suggest to return const reference from "getter" member function#6256
chrchr-github merged 23 commits intocppcheck-opensource:mainfrom
chrchr-github:chr_Fix12546

Conversation

@chrchr-github
Copy link
Copy Markdown
Collaborator

No description provided.

@chrchr-github chrchr-github marked this pull request as ready for review April 8, 2024 20:54
Copy link
Copy Markdown
Collaborator

@danmar danmar left a comment

Choose a reason for hiding this comment

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

looks good to me. I just have a small nit.

Comment thread lib/checkclass.cpp Outdated
@chrchr-github chrchr-github merged commit 4f8f7cc into cppcheck-opensource:main Apr 10, 2024
@chrchr-github chrchr-github deleted the chr_Fix12546 branch April 10, 2024 15:51
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