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

Fix some implicit conversions #591

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Conversation

TedLyngmo
Copy link
Contributor

@TedLyngmo TedLyngmo commented Sep 14, 2024

Made it possible to compile with -Wshadow -Wconversion -Wcast-qual -Wsign-conversion. Silenced the warnings that would pop up with a static_cast.

The chrono conversion warning that would pop up was silenced by staying within the chrono domain instead of doing a cast.

Made it possible to compile with -Wshadow -Wconversion -Wcast-qual
-Wsign-conversion. Silenced the warnings that would pop up with a
static_cast.

The chrono conversion warning that would pop up was silenced by staying
within the chono domain instead of doing a cast.

Signed-off-by: Ted Lyngmo <ted@lyncon.se>
@sewenew sewenew merged commit 8232fc5 into sewenew:master Sep 16, 2024
2 of 3 checks passed
@sewenew
Copy link
Owner

sewenew commented Sep 16, 2024

Thanks again!

Regards

@TedLyngmo TedLyngmo deleted the conversions branch September 16, 2024 17:53
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