diff options
| author | Amlal <amlalelmahrouss@icloud.com> | 2024-04-30 06:17:59 +0000 |
|---|---|---|
| committer | Amlal <amlalelmahrouss@icloud.com> | 2024-04-30 06:17:59 +0000 |
| commit | 094218bcd2befe8c57d042db7a2945791f29c7a6 (patch) | |
| tree | 045a19e28860280a29bb8fc218a6909343691878 /Private/NewKit | |
| parent | a06c8a375f0c5f5e3613e9fe8228cebf442731ba (diff) | |
| parent | f86125cf437fb49587d588413d69646959a58541 (diff) | |
Merged in MHR-18 (pull request #10)
MHR-18
Diffstat (limited to 'Private/NewKit')
| -rw-r--r-- | Private/NewKit/Array.hpp | 6 | ||||
| -rw-r--r-- | Private/NewKit/Utils.hpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Private/NewKit/Array.hpp b/Private/NewKit/Array.hpp index 6724d8a9..68ca9bfc 100644 --- a/Private/NewKit/Array.hpp +++ b/Private/NewKit/Array.hpp @@ -11,7 +11,7 @@ namespace NewOS { -template <typename T, Size N> +template <typename T, Size N> class Array final { public: @@ -26,7 +26,7 @@ public: if (At > N) return {}; - kcout << "Returning element\r\n"; + kcout << "Returning element\r"; return ErrorOr<T>(fArray[At]); } @@ -65,6 +65,6 @@ public: private: T fArray[N]; - + }; } // namespace NewOS diff --git a/Private/NewKit/Utils.hpp b/Private/NewKit/Utils.hpp index 749e15ba..c9503479 100644 --- a/Private/NewKit/Utils.hpp +++ b/Private/NewKit/Utils.hpp @@ -24,5 +24,5 @@ Boolean is_space(Char chr); Int rt_to_uppercase(Int c); Int rt_to_lower(Int c); voidPtr rt_string_in_string(const char *in, const char *needle); -char *rt_string_frofchar(char *str, const char chr); +char *rt_string_has_char(char *str, const char chr); } // namespace NewOS |
