diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-25 03:07:52 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-25 03:07:52 +0100 |
| commit | 0e05e9fd34bd036e9043f20939c53edf967465ce (patch) | |
| tree | 36e3e6b84534a82c53605a19134e9ab772c11c65 /src/kernel/NeKit/Utils.h | |
| parent | 480ccd897d21823af6128f0e3d8d8cdbf653dd0f (diff) | |
feat: CF: Add alias for CFDictionary (CFDict).v0.1.3
fix: kernel: CodeMgr improvements and fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/NeKit/Utils.h')
| -rw-r--r-- | src/kernel/NeKit/Utils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/NeKit/Utils.h b/src/kernel/NeKit/Utils.h index 8ee1371b..e28e23eb 100644 --- a/src/kernel/NeKit/Utils.h +++ b/src/kernel/NeKit/Utils.h @@ -54,9 +54,9 @@ inline constexpr SizeT oe_string_len(const CharType* str) { if (!str) return 0; #if __cplusplus == 202302L - if - consteval { return ARRAY_SIZE(str); } - else { + if consteval { + return ARRAY_SIZE(str); + } else { SizeT len{0}; while (str[len] != 0) ++len; return len; |
