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

Remove casts now that our enums are the right size. #7841

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

#7746 made the
enums be sized correctly.

Fixes #7622

Problem

We have static_casts we no longer need.

Change overview

Remove the casts, replace with static_asserts.

Testing

Tested compilation on Mac.

@woody-apple woody-apple merged commit 67ea9ed into project-chip:master Jun 23, 2021
@bzbarsky-apple bzbarsky-apple deleted the remove-tv-app-workarounds branch June 23, 2021 13:16
nikita-s-wrk pushed a commit to nikita-s-wrk/connectedhomeip that referenced this pull request Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Once our enums are sized properly, or once we stop depending on the
6 participants