mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
Kernel: Rename FileDescription::create() => try_create()
This commit is contained in:
parent
31bc9565f8
commit
59335bd8ea
Notes:
sideshowbarker
2024-07-18 05:07:15 +09:00
Author: https://github.com/awesomekling
Commit: 59335bd8ea
11 changed files with 16 additions and 16 deletions
|
@ -26,7 +26,7 @@ RefPtr<FIFO> FIFO::try_create(uid_t uid)
|
|||
|
||||
KResultOr<NonnullRefPtr<FileDescription>> FIFO::open_direction(FIFO::Direction direction)
|
||||
{
|
||||
auto description = FileDescription::create(*this);
|
||||
auto description = FileDescription::try_create(*this);
|
||||
if (!description.is_error()) {
|
||||
attach(direction);
|
||||
description.value()->set_fifo_direction({}, direction);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue