diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-10 10:30:38 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-10 10:30:38 +0200 |
| commit | 212c57ea05bf918dc26fe8864ad617f2f6259cea (patch) | |
| tree | 85b51997582d9b21469549c2644308588582d744 /dev/kernel/CFKit/GUIDWrapper.h | |
| parent | 59f37ac002635171892925f163783689ec23c1fc (diff) | |
feat: kernel: dispatch structures have two new methods.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/CFKit/GUIDWrapper.h')
| -rw-r--r-- | dev/kernel/CFKit/GUIDWrapper.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dev/kernel/CFKit/GUIDWrapper.h b/dev/kernel/CFKit/GUIDWrapper.h index 05cb4754..14a96fde 100644 --- a/dev/kernel/CFKit/GUIDWrapper.h +++ b/dev/kernel/CFKit/GUIDWrapper.h @@ -16,7 +16,7 @@ /// @brief eXtended Resource Namespace namespace Kernel::CF::XRN { -union GUIDSequence { +union GUIDSequence final { alignas(8) UShort fU8[16]; alignas(8) UShort fU16[8]; alignas(8) UInt fU32[4]; @@ -36,8 +36,7 @@ class GUID final { ~GUID() = default; public: - GUID& operator=(const GUID&) = default; - GUID(const GUID&) = default; + NE_COPY_DEFAULT(GUID) public: GUIDSequence& operator->() noexcept { return fUUID; } |
