mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
Kernel: LoopbackAdapter::create() => try_create()
Allow this to fail (although we VERIFY that it succeeds during boot for now, since we don't want to boot without a loopback adapter.)
This commit is contained in:
parent
e4dfb0fdf3
commit
241bbce264
Notes:
sideshowbarker
2024-07-18 09:19:15 +09:00
Author: https://github.com/awesomekling
Commit: 241bbce264
3 changed files with 6 additions and 5 deletions
|
@ -17,7 +17,7 @@ private:
|
|||
LoopbackAdapter();
|
||||
|
||||
public:
|
||||
static NonnullRefPtr<LoopbackAdapter> create();
|
||||
static RefPtr<LoopbackAdapter> try_create();
|
||||
virtual ~LoopbackAdapter() override;
|
||||
|
||||
virtual void send_raw(ReadonlyBytes) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue