summaryrefslogtreecommitdiff
path: root/Kernel/Devices/FileBackedDiskDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/FileBackedDiskDevice.h')
-rw-r--r--Kernel/Devices/FileBackedDiskDevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/FileBackedDiskDevice.h b/Kernel/Devices/FileBackedDiskDevice.h
index 667f3af427..580f3b531d 100644
--- a/Kernel/Devices/FileBackedDiskDevice.h
+++ b/Kernel/Devices/FileBackedDiskDevice.h
@@ -8,7 +8,7 @@
class FileBackedDiskDevice final : public DiskDevice {
public:
- static RetainPtr<FileBackedDiskDevice> create(String&& image_path, unsigned block_size);
+ static RefPtr<FileBackedDiskDevice> create(String&& image_path, unsigned block_size);
virtual ~FileBackedDiskDevice() override;
bool is_valid() const { return m_file; }