summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/NeKit/Utils.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-25 03:07:52 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-25 03:07:52 +0100
commit0e05e9fd34bd036e9043f20939c53edf967465ce (patch)
tree36e3e6b84534a82c53605a19134e9ab772c11c65 /src/kernel/NeKit/Utils.h
parent480ccd897d21823af6128f0e3d8d8cdbf653dd0f (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.h6
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;