summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/FileSystem.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-21 18:37:47 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-21 18:37:47 +0200
commit90b1354688e988ba1311a5645f631d353fa7ff80 (patch)
tree5619e16c34d3f2f9142c270e2a906614a6d598a6 /Kernel/FileSystem/FileSystem.h
parent77b9fa89dd36fcd56d956667a956ef7f2ee8f963 (diff)
downloadserenity-90b1354688e988ba1311a5645f631d353fa7ff80.zip
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
Diffstat (limited to 'Kernel/FileSystem/FileSystem.h')
-rw-r--r--Kernel/FileSystem/FileSystem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/FileSystem/FileSystem.h b/Kernel/FileSystem/FileSystem.h
index 3e9fcc6314..c9ad4b5dcb 100644
--- a/Kernel/FileSystem/FileSystem.h
+++ b/Kernel/FileSystem/FileSystem.h
@@ -54,10 +54,10 @@ public:
byte file_type { 0 };
};
- virtual RetainPtr<Inode> create_inode(InodeIdentifier parentInode, const String& name, mode_t, off_t size, dev_t, int& error) = 0;
- virtual RetainPtr<Inode> create_directory(InodeIdentifier parentInode, const String& name, mode_t, int& error) = 0;
+ virtual RefPtr<Inode> create_inode(InodeIdentifier parentInode, const String& name, mode_t, off_t size, dev_t, int& error) = 0;
+ virtual RefPtr<Inode> create_directory(InodeIdentifier parentInode, const String& name, mode_t, int& error) = 0;
- virtual RetainPtr<Inode> get_inode(InodeIdentifier) const = 0;
+ virtual RefPtr<Inode> get_inode(InodeIdentifier) const = 0;
virtual void flush_writes() {}