mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:18:11 +00:00
Kernel: Move Singleton class to AK
This commit is contained in:
parent
0e69ebbce4
commit
f0906250a1
31 changed files with 87 additions and 71 deletions
|
@ -26,9 +26,9 @@
|
|||
|
||||
#include "PTYMultiplexer.h"
|
||||
#include "MasterPTY.h"
|
||||
#include <AK/Singleton.h>
|
||||
#include <Kernel/FileSystem/FileDescription.h>
|
||||
#include <Kernel/Process.h>
|
||||
#include <Kernel/Singleton.h>
|
||||
#include <LibC/errno_numbers.h>
|
||||
|
||||
//#define PTMX_DEBUG
|
||||
|
@ -36,7 +36,7 @@
|
|||
namespace Kernel {
|
||||
|
||||
static const unsigned s_max_pty_pairs = 8;
|
||||
static auto s_the = make_singleton<PTYMultiplexer>();
|
||||
static auto s_the = AK::make_singleton<PTYMultiplexer>();
|
||||
|
||||
PTYMultiplexer& PTYMultiplexer::the()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue