-
Notifications
You must be signed in to change notification settings - Fork 12
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
refactor: show planned path in enum class changes for maintainer review #44
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #44 +/- ##
==========================================
- Coverage 32.11% 32.10% -0.02%
==========================================
Files 290 290
Lines 27470 27483 +13
Branches 1125 1125
==========================================
Hits 8823 8823
- Misses 18647 18660 +13 ☔ View full report in Codecov by Sentry. |
@dksmiffs I would also add the type to the enum class if mapping to a known DIS type (and therefore knowing the maximum number of elements): enum class Example : std::uint8_t {
// ...
} |
@carlocorradini - in 6fb761f, please note line 99 in Update: see 197acba below for my proposed fix to this issue. |
This change is needed to allow StandardVariable::FactoryDecodeStandardVariable() to pass a KUINT32 as the first parameter to FactoryDecode, since the underlying type of the StandardVariableType enum class is KUINT32.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice. Thanks!
|
Sounds good, @carlocorradini. |
Work started on #22, this draft intended for early maintainer feedback on approach.