diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-18 05:42:57 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-18 05:42:57 +0100 |
| commit | 30bfed60419707e94a0128f20199f98d008a1473 (patch) | |
| tree | 66a9ace8516d4fcff1a34d7dd34291266216d7bd /src/kernel/NeKit/Utils.h | |
| parent | c55c139dd4ee553bac64c903973a6298a50017f2 (diff) | |
[CHORE] Update format.sh unit.
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 0ac5acc5..3f387c33 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; |
