diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-17 08:30:00 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-17 08:30:00 +0100 |
| commit | 80de28e3472613e8f6aa8b2730d56b5307f4fb9a (patch) | |
| tree | 7799e7dfc8b463adba33a87852dd8ea17dec8fa3 /include/CompilerKit/Ref.h | |
| parent | 745bf42b74b6d9b1f6385c785b31a8734cfb4509 (diff) | |
chore: Improved assembler backends.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/Ref.h')
| -rw-r--r-- | include/CompilerKit/Ref.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/CompilerKit/Ref.h b/include/CompilerKit/Ref.h index 3dee0c0..4063508 100644 --- a/include/CompilerKit/Ref.h +++ b/include/CompilerKit/Ref.h @@ -38,7 +38,7 @@ class StrongRef { public: StrongRef(Type* cls) : m_Class(cls), m_Strong(true) {} - StrongRef& operator=(Type *ref) { + StrongRef& operator=(Type* ref) { m_Class = ref; return *this; } @@ -62,7 +62,7 @@ class StrongRef { template <typename T> class WeakRef final : public StrongRef<T> { public: - WeakRef() = delete; + WeakRef() = delete; ~WeakRef() = default; NECTI_COPY_DEFAULT(WeakRef) @@ -94,5 +94,5 @@ class NonNullRef final { }; using StrongAny = StrongRef<VoidPtr>; -using WeakAny = WeakRef<VoidPtr>; +using WeakAny = WeakRef<VoidPtr>; } // namespace CompilerKit |
