diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-11 17:52:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-11 17:52:52 +0200 |
| commit | c1d9fbd3925d6e10919a7793fc214c9f1a01b2ab (patch) | |
| tree | a74bdf6f87d07a24496effbc157f74d379d25007 /dev/kernel/NewKit/MutableArray.h | |
| parent | 8988b6f166d1087615b21229df651e0bcc0fa048 (diff) | |
| parent | c3856eddb5a8146751dac82ad1ba4433f5ca6d6d (diff) | |
Merge pull request #14 from amlel-el-mahrouss/dev
tweak kernel, boot: use -Wall, -Werror, -Wpedantic now
Diffstat (limited to 'dev/kernel/NewKit/MutableArray.h')
| -rw-r--r-- | dev/kernel/NewKit/MutableArray.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/kernel/NewKit/MutableArray.h b/dev/kernel/NewKit/MutableArray.h index b6bb0d98..40d61495 100644 --- a/dev/kernel/NewKit/MutableArray.h +++ b/dev/kernel/NewKit/MutableArray.h @@ -96,7 +96,7 @@ namespace Kernel } public: - T operator[](const SizeT& Index) const + T operator[](SizeT Index) const { TRY_FIND_NODE(first, fFirstNode); TRY_FIND_NODE(last, fLastNode); @@ -110,7 +110,7 @@ namespace Kernel } public: - Boolean Remove(const SizeT& Index) + Boolean Remove(SizeT Index) { TRY_REMOVE_NODE(fFirstNode); TRY_REMOVE_NODE(fLastNode); @@ -200,7 +200,7 @@ namespace Kernel } public: - Ref<T> operator[](const SizeT& Index) const + Ref<T> operator[](SizeT Index) const { TRY_FIND_NODE2(first, fFirstNode); TRY_FIND_NODE2(last, fLastNode); |
