From 3effa2d2e513f81e633079c395ae8544031edd6d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 11 Feb 2025 10:29:48 +0100 Subject: ADD: Tweaks and improvements on AHCI. Signed-off-by: Amlal El Mahrouss --- dev/Usr/LibCF/Array.h | 6 +++--- dev/Usr/LibCF/Property.h | 18 +++++++++--------- dev/Usr/LibCF/Ref.h | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'dev/Usr/LibCF') diff --git a/dev/Usr/LibCF/Array.h b/dev/Usr/LibCF/Array.h index 8533b649..acd72f95 100644 --- a/dev/Usr/LibCF/Array.h +++ b/dev/Usr/LibCF/Array.h @@ -15,14 +15,14 @@ namespace LibCF { public: explicit CFArray() = default; - ~CFArray() = default; + ~CFArray() = default; CFArray& operator=(const CFArray&) = default; CFArray(const CFArray&) = default; T& operator[](const SizeT& at) { - MUST_PASS(at < this->Count()); + MUST_PASS(at < this->Count()); return fArray[at]; } @@ -60,4 +60,4 @@ namespace LibCF { return CFArray{val}; } -} // namespace Kernel +} // namespace LibCF diff --git a/dev/Usr/LibCF/Property.h b/dev/Usr/LibCF/Property.h index 629dba27..5c2916f4 100644 --- a/dev/Usr/LibCF/Property.h +++ b/dev/Usr/LibCF/Property.h @@ -14,11 +14,11 @@ namespace LibCF { - class CFString; - class CFProperty; + class CFString; + class CFProperty; class CFGUID; - template + template class CFArray; /// @brief handle to anything (number, ptr, string...) @@ -36,18 +36,18 @@ namespace LibCF CFProperty& operator=(const CFProperty&) = default; CFProperty(const CFProperty&) = default; - Bool StringEquals(CFString& name); + Bool StringEquals(CFString& name); CFPropertyId& GetValue(); - CFString& GetKey(); + CFString& GetKey(); private: - CFString* fName{nullptr}; - CFPropertyId fValue{0UL}; - Ref fGUID{}; + CFString* fName{nullptr}; + CFPropertyId fValue{0UL}; + Ref fGUID{}; }; template using CFPropertyArray = CFArray; -} // namespace CFKit +} // namespace LibCF #endif // !CFKIT_PROPS_H diff --git a/dev/Usr/LibCF/Ref.h b/dev/Usr/LibCF/Ref.h index faad67c5..18321e3b 100644 --- a/dev/Usr/LibCF/Ref.h +++ b/dev/Usr/LibCF/Ref.h @@ -101,6 +101,6 @@ namespace LibCF private: Ref fRef{nullptr}; }; -} // namespace Kernel +} // namespace LibCF #endif // ifndef _NEWKIT_REF_H_ -- cgit v1.2.3