mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
Kernel: Rename Custody::create() => try_create()
The try_ prefix indicates that this may fail. :^)
This commit is contained in:
parent
9a827ad3da
commit
9d801d2345
Notes:
sideshowbarker
2024-07-18 17:16:44 +09:00
Author: https://github.com/awesomekling
Commit: 9d801d2345
5 changed files with 18 additions and 19 deletions
|
@ -21,7 +21,7 @@ namespace Kernel {
|
|||
class Custody : public RefCounted<Custody> {
|
||||
MAKE_SLAB_ALLOCATED(Custody)
|
||||
public:
|
||||
static KResultOr<NonnullRefPtr<Custody>> create(Custody* parent, StringView name, Inode& inode, int mount_flags);
|
||||
static KResultOr<NonnullRefPtr<Custody>> try_create(Custody* parent, StringView name, Inode&, int mount_flags);
|
||||
|
||||
~Custody();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue