Commit c4e2c52
committed
refactor(gpg): specify enum underlying type as
* Use `std::uint8_t` as the underlying type for the
`GpgComponentType` enum to improve memory efficiency.
* Add explicit include for `<cstdint>`.
* Prepares codebase for scenarios where enum size matters,
such as serialization or interop.uint8_t
1 parent abe7977 commit c4e2c52
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| |||
0 commit comments