diff options
author | Andreas Kling <kling@serenityos.org> | 2023-03-06 17:56:28 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-06 23:46:36 +0100 |
commit | 7369d0ab5f93b3b083e030bef64486b02cafb3d5 (patch) | |
tree | 2b82fc7c6825248d15d0a36c09d2518fe6f8d2cc /Kernel/Net/NetworkingManagement.h | |
parent | 21db2b7b903d8c35151174fb18f947db5227eab7 (diff) | |
download | serenity-7369d0ab5f93b3b083e030bef64486b02cafb3d5.zip |
Kernel: Stop using NonnullLockRefPtrVector
Diffstat (limited to 'Kernel/Net/NetworkingManagement.h')
-rw-r--r-- | Kernel/Net/NetworkingManagement.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/Net/NetworkingManagement.h b/Kernel/Net/NetworkingManagement.h index ab4f3bc25f..60ecc2c926 100644 --- a/Kernel/Net/NetworkingManagement.h +++ b/Kernel/Net/NetworkingManagement.h @@ -11,7 +11,6 @@ #include <AK/Types.h> #include <Kernel/Bus/PCI/Definitions.h> #include <Kernel/Library/NonnullLockRefPtr.h> -#include <Kernel/Library/NonnullLockRefPtrVector.h> #include <Kernel/Locking/SpinlockProtected.h> #include <Kernel/Memory/Region.h> #include <Kernel/Net/NetworkAdapter.h> @@ -42,7 +41,7 @@ public: private: ErrorOr<NonnullLockRefPtr<NetworkAdapter>> determine_network_device(PCI::DeviceIdentifier const&) const; - SpinlockProtected<NonnullLockRefPtrVector<NetworkAdapter>, LockRank::None> m_adapters {}; + SpinlockProtected<Vector<NonnullLockRefPtr<NetworkAdapter>>, LockRank::None> m_adapters {}; LockRefPtr<NetworkAdapter> m_loopback_adapter; }; |