diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-08 03:56:42 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-08 03:56:42 -0500 |
| commit | e6768dc3b6c7864166211fd6e2f67ff4e5a2cbe5 (patch) | |
| tree | 8fd8793369c30ddbfb61366407db3d464a95ad6b /src/kernel/NeKit | |
| parent | 1b82bb9468d38757b27d0723af26c2b052d92ce3 (diff) | |
chore: use `enum struct` instead of `enum class`.
chore: build scripts improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/NeKit')
| -rw-r--r-- | src/kernel/NeKit/Config.h | 2 | ||||
| -rw-r--r-- | src/kernel/NeKit/Variant.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/NeKit/Config.h b/src/kernel/NeKit/Config.h index 071018eb..f8414069 100644 --- a/src/kernel/NeKit/Config.h +++ b/src/kernel/NeKit/Config.h @@ -79,7 +79,7 @@ using Lba = UInt64; using Char16 = char16_t; -enum class Endian : UInt8 { kEndianInvalid, kEndianBig, kEndianLittle, kEndianMixed, kEndianCount }; +enum struct Endian : UInt8 { kEndianInvalid, kEndianBig, kEndianLittle, kEndianMixed, kEndianCount }; /// @brief Forward object. /// @tparam Args the object type. diff --git a/src/kernel/NeKit/Variant.h b/src/kernel/NeKit/Variant.h index a7257805..bf2b53c4 100644 --- a/src/kernel/NeKit/Variant.h +++ b/src/kernel/NeKit/Variant.h @@ -15,7 +15,7 @@ namespace Kernel { class Variant final { public: - enum class VariantKind { + enum struct VariantKind { kInvalid = 0, kString = 200, kBlob, |
