-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around GCC assuming that enum values are in the correct range.
The whole purpose of the is_valid function is to check it at runtime, so it obviously cannot assume this.
- Loading branch information
1 parent
fdb85c0
commit 032d4fe
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters