diff options
Diffstat (limited to 'dev/Usr/LibCF')
| -rw-r--r-- | dev/Usr/LibCF/Array.h | 6 | ||||
| -rw-r--r-- | dev/Usr/LibCF/Property.h | 18 | ||||
| -rw-r--r-- | dev/Usr/LibCF/Ref.h | 2 |
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_ |
