summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/NeKit/Utils.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-12 18:22:35 +0100
committerGitHub <noreply@github.com>2026-03-12 18:22:35 +0100
commit9f79840a489aa65a69350fd48bf83d118f56ccb3 (patch)
tree6d332e82cc9c197cb7c5e0aff958b8bdc38009bf /src/kernel/NeKit/Utils.h
parent6498165c295fab8352d8bcb37095ef81190dda20 (diff)
parent578e905d123d1ae48ad6690cddd5247b83cdccae (diff)
Merge pull request #138 from ne-foss-org/atom-improvementsHEADdevelop
[FEAT] CFAtom & Kernel::Atom improvements, doc TypeAtomic.
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 3f387c33..0ac5acc5 100644
--- a/src/kernel/NeKit/Utils.h
+++ b/src/kernel/NeKit/Utils.h
@@ -55,9 +55,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;