diff options
Diffstat (limited to 'Kernel/Devices/DiskPartition.h')
-rw-r--r-- | Kernel/Devices/DiskPartition.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Devices/DiskPartition.h b/Kernel/Devices/DiskPartition.h index c4e1b39ee9..7db12eefc2 100644 --- a/Kernel/Devices/DiskPartition.h +++ b/Kernel/Devices/DiskPartition.h @@ -5,7 +5,7 @@ class DiskPartition final : public DiskDevice { public: - static Retained<DiskPartition> create(Retained<DiskDevice>&& device, unsigned block_offset); + static NonnullRefPtr<DiskPartition> create(NonnullRefPtr<DiskDevice>&& device, unsigned block_offset); virtual ~DiskPartition(); virtual unsigned block_size() const override; @@ -17,8 +17,8 @@ public: private: virtual const char* class_name() const override; - DiskPartition(Retained<DiskDevice>&&, unsigned); + DiskPartition(NonnullRefPtr<DiskDevice>&&, unsigned); - Retained<DiskDevice> m_device; + NonnullRefPtr<DiskDevice> m_device; unsigned m_block_offset; }; |