Skip to content

Update to modern style cast #143

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

bmagistro
Copy link

When compiling with clang 19.1.7 on Alma with -Werror and a number of other flags (we run with most warnings enabled), the lines were flagged with error: use of old-style cast [-Werror, -Wold-style-cast]. It is unclear if this was just missed or cast style was not updated. Additionally, 0 was switched to nullptr for improved clarity in these lines.

The updates here were found in conjunction with boostorg/function#55.

Env:
Alma 9.6
Boost 1.88.0 via cmake
clang 19.1.7

Signed-off-by: Ben Magistro <[email protected]>
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.

1 participant