mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Revert "Kernel: Move Singleton class to AK"
This reverts commit f0906250a1
.
This commit is contained in:
parent
b0a24a83be
commit
8925ad3fa0
31 changed files with 71 additions and 87 deletions
|
@ -25,16 +25,16 @@
|
|||
*/
|
||||
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/Singleton.h>
|
||||
#include <Kernel/Net/LoopbackAdapter.h>
|
||||
#include <Kernel/Net/Routing.h>
|
||||
#include <Kernel/Thread.h>
|
||||
#include <Kernel/Singleton.h>
|
||||
|
||||
//#define ROUTING_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
static auto s_arp_table = AK::make_singleton<Lockable<HashMap<IPv4Address, MACAddress>>>();
|
||||
static auto s_arp_table = make_singleton<Lockable<HashMap<IPv4Address, MACAddress>>>();
|
||||
|
||||
Lockable<HashMap<IPv4Address, MACAddress>>& arp_table()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue