Skip to content

Avoid const_cast#5490

Merged
chrchr-github merged 1 commit into
cppcheck-opensource:mainfrom
chrchr-github:chr_ccast
Sep 28, 2023
Merged

Avoid const_cast#5490
chrchr-github merged 1 commit into
cppcheck-opensource:mainfrom
chrchr-github:chr_ccast

Conversation

@chrchr-github
Copy link
Copy Markdown
Collaborator

No description provided.

@firewave
Copy link
Copy Markdown
Collaborator

If you can we should enable the cppcoreguidelines-pro-type-const-cast clang-tidy warning.

@firewave
Copy link
Copy Markdown
Collaborator

Also please have a look at #4344. I have not yet checked up on the last comment.

@chrchr-github
Copy link
Copy Markdown
Collaborator Author

cppcoreguidelines-pro-type-const-cast just flags any const_cast, and we still have some (good and bad).

@chrchr-github chrchr-github merged commit 033cf64 into cppcheck-opensource:main Sep 28, 2023
@chrchr-github chrchr-github deleted the chr_ccast branch September 28, 2023 16:20
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