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

Improve details::Boolean compatibility checks. #880

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented Nov 30, 2023

Instead of comparing values, use std::memcmp to compare bytes.

@1uc
Copy link
Collaborator Author

1uc commented Nov 30, 2023

MSVC complained (and I believe errored out) about the previous variation. This variation is more blunt about comparing bytes.

Instead of comparing values, use `std::memcmp` to compare bytes.
@1uc 1uc force-pushed the 1uc/better-bool-test branch from dea74ea to c6d1194 Compare November 30, 2023 14:19
Copy link

codecov bot commented Nov 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6cc408d) 84.94% compared to head (c6d1194) 84.97%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #880      +/-   ##
==========================================
+ Coverage   84.94%   84.97%   +0.02%     
==========================================
  Files          71       71              
  Lines        5109     5118       +9     
==========================================
+ Hits         4340     4349       +9     
  Misses        769      769              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@1uc 1uc marked this pull request as ready for review November 30, 2023 15:18
@1uc 1uc merged commit 4d199f1 into master Nov 30, 2023
36 checks passed
@1uc 1uc deleted the 1uc/better-bool-test branch November 30, 2023 17:42
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