diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-06 12:58:03 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-06 13:06:05 +0200 |
commit | 6e3381ac32e5d251c124cc6147c4598dd2bac505 (patch) | |
tree | 108e6a04d89d5f9c483df0361079caea2424362c /Kernel/Memory/SharedInodeVMObject.h | |
parent | e3a716ceffc0fc1f5c4f2ee35dee02e987731621 (diff) | |
download | serenity-6e3381ac32e5d251c124cc6147c4598dd2bac505.zip |
Kernel: Use KResultOr and TRY() for {Shared,Private}InodeVMObject
Diffstat (limited to 'Kernel/Memory/SharedInodeVMObject.h')
-rw-r--r-- | Kernel/Memory/SharedInodeVMObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Memory/SharedInodeVMObject.h b/Kernel/Memory/SharedInodeVMObject.h index 6690c3a2d7..5b91785c55 100644 --- a/Kernel/Memory/SharedInodeVMObject.h +++ b/Kernel/Memory/SharedInodeVMObject.h @@ -16,7 +16,7 @@ class SharedInodeVMObject final : public InodeVMObject { AK_MAKE_NONMOVABLE(SharedInodeVMObject); public: - static RefPtr<SharedInodeVMObject> try_create_with_inode(Inode&); + static KResultOr<NonnullRefPtr<SharedInodeVMObject>> try_create_with_inode(Inode&); virtual KResultOr<NonnullRefPtr<VMObject>> try_clone() override; private: |