mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
Kernel: Convert network adapter names to Kernel::KString
Another step of incremental progress of removing `AK::String` from the kernel, to harden against OOM.
This commit is contained in:
parent
33a9f908a6
commit
2770433d30
Notes:
sideshowbarker
2024-07-18 03:15:20 +09:00
Author: https://github.com/bgianfo
Commit: 2770433d30
Pull-request: https://github.com/SerenityOS/serenity/pull/10239
Reviewed-by: https://github.com/supercomputer7
16 changed files with 64 additions and 68 deletions
|
@ -14,7 +14,7 @@ class LoopbackAdapter final : public NetworkAdapter {
|
|||
AK_MAKE_ETERNAL
|
||||
|
||||
private:
|
||||
LoopbackAdapter();
|
||||
LoopbackAdapter(NonnullOwnPtr<KString>);
|
||||
|
||||
public:
|
||||
static RefPtr<LoopbackAdapter> try_create();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue