1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

Kernel: Use WeakPtr<NetworkAdapter> instead of NetworkAdapter* in net code

This commit is contained in:
Conrad Pankoff 2019-08-09 12:34:32 +10:00 committed by Andreas Kling
parent d6bce37756
commit 54ceabd48d
9 changed files with 28 additions and 16 deletions

View file

@ -2,4 +2,4 @@
#include <Kernel/Net/NetworkAdapter.h>
NetworkAdapter* adapter_for_route_to(const IPv4Address&);
WeakPtr<NetworkAdapter> adapter_for_route_to(const IPv4Address&);