summaryrefslogtreecommitdiffhomepage
path: root/dev/Usr/LibCF
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-11 10:29:48 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-11 10:29:48 +0100
commit3effa2d2e513f81e633079c395ae8544031edd6d (patch)
treebf87e17217c44e738984682539b9bf93efb8cff5 /dev/Usr/LibCF
parent1583ee83e3e3e49673884fbdb309911dafef215f (diff)
ADD: Tweaks and improvements on AHCI.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Usr/LibCF')
-rw-r--r--dev/Usr/LibCF/Array.h6
-rw-r--r--dev/Usr/LibCF/Property.h18
-rw-r--r--dev/Usr/LibCF/Ref.h2
3 files changed, 13 insertions, 13 deletions
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<ValueType, ARRAY_SIZE(val)>{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<typename Cls, SizeT N>
+ template <typename Cls, SizeT N>
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<CFGUID> fGUID{};
+ CFString* fName{nullptr};
+ CFPropertyId fValue{0UL};
+ Ref<CFGUID> fGUID{};
};
template <SizeT N>
using CFPropertyArray = CFArray<CFProperty, N>;
-} // 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<T> fRef{nullptr};
};
-} // namespace Kernel
+} // namespace LibCF
#endif // ifndef _NEWKIT_REF_H_