mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
Revert "Kernel: Move Singleton class to AK"
This reverts commit f0906250a1.
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
*/
|
||||
|
||||
#include <AK/HashTable.h>
|
||||
#include <AK/Singleton.h>
|
||||
#include <AK/StringBuilder.h>
|
||||
#include <Kernel/Heap/kmalloc.h>
|
||||
#include <Kernel/Lock.h>
|
||||
@@ -34,11 +33,12 @@
|
||||
#include <Kernel/Net/LoopbackAdapter.h>
|
||||
#include <Kernel/Net/NetworkAdapter.h>
|
||||
#include <Kernel/Random.h>
|
||||
#include <Kernel/Singleton.h>
|
||||
#include <Kernel/StdLib.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
static auto s_table = AK::make_singleton<Lockable<HashTable<NetworkAdapter*>>>();
|
||||
static auto s_table = make_singleton<Lockable<HashTable<NetworkAdapter*>>>();
|
||||
|
||||
static Lockable<HashTable<NetworkAdapter*>>& all_adapters()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user