diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-04-06 14:52:33 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-04-06 14:52:33 +0200 |
| commit | 32f75625830660468287de0f213baee760fc6384 (patch) | |
| tree | aaa8286ee13a4188d826d4efd59482c7b1aa0e73 /Private/NewKit/Array.hpp | |
| parent | 422b8029eba71b6fbb6b3dcb386b8e115bbd08ef (diff) | |
:boom: Breaking changes, disk API improvemenets and bringing support for
more drivers...
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/NewKit/Array.hpp')
| -rw-r--r-- | Private/NewKit/Array.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Private/NewKit/Array.hpp b/Private/NewKit/Array.hpp index a892f1a7..6724d8a9 100644 --- a/Private/NewKit/Array.hpp +++ b/Private/NewKit/Array.hpp @@ -27,12 +27,12 @@ public: return {}; kcout << "Returning element\r\n"; - return ErrorOr<T>(m_Array[At]); + return ErrorOr<T>(fArray[At]); } Boolean Empty() const { - for (auto Val : m_Array) + for (auto Val : fArray) { if (Val) return false; @@ -44,7 +44,7 @@ public: SizeT Count() const { SizeT cntElems = 0UL; - for (auto Val : m_Array) + for (auto Val : fArray) { if (Val) ++cntElems; @@ -55,7 +55,7 @@ public: const T *CData() { - return m_Array; + return fArray; } operator bool() @@ -64,7 +64,7 @@ public: } private: - T m_Array[N]; + T fArray[N]; }; } // namespace NewOS |
