1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

Everywhere: Replace AK::Singleton => Singleton

This commit is contained in:
Andreas Kling 2021-08-07 21:34:11 +02:00
parent eb60cb156d
commit c94c15d45c
35 changed files with 40 additions and 40 deletions

View file

@ -10,7 +10,7 @@
namespace Kernel {
static AK::Singleton<HashMap<u32, Device*>> s_all_devices;
static Singleton<HashMap<u32, Device*>> s_all_devices;
HashMap<u32, Device*>& Device::all_devices()
{

View file

@ -14,7 +14,7 @@
namespace Kernel {
Atomic<bool> g_caps_lock_remapped_to_ctrl;
static AK::Singleton<HIDManagement> s_the;
static Singleton<HIDManagement> s_the;
// clang-format off
static constexpr Keyboard::CharacterMapData DEFAULT_CHARACTER_MAP =

View file

@ -10,7 +10,7 @@
namespace Kernel {
static AK::Singleton<NullDevice> s_the;
static Singleton<NullDevice> s_the;
UNMAP_AFTER_INIT void NullDevice::initialize()
{

View file

@ -58,7 +58,7 @@ void SB16::set_sample_rate(uint16_t hz)
dsp_write((u8)hz);
}
static AK::Singleton<SB16> s_the;
static Singleton<SB16> s_the;
UNMAP_AFTER_INIT SB16::SB16()
: IRQHandler(SB16_DEFAULT_IRQ)

View file

@ -86,7 +86,7 @@ private:
OwnPtr<VMWareBackdoor> m_backdoor;
};
static AK::Singleton<VMWareBackdoorDetector> s_vmware_backdoor;
static Singleton<VMWareBackdoorDetector> s_vmware_backdoor;
VMWareBackdoor* VMWareBackdoor::the()
{