-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LightMetal - Use as_*() instead of static_cast directly for some unio…
…n type handling in from_flatbuffer() - CoreSpec and KernelConfig are unions, do need to use static_cast but for now will prefer to hide that detail by using cmd->core_spec_as_CoreCoord() instead. - Downside here is that field names core_spec and kernel_config must be consistent across all users of these from_flatbuffer() funcs now.
- Loading branch information
Showing
2 changed files
with
47 additions
and
51 deletions.
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
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