diff options
author | Tom <tomut@yahoo.com> | 2020-08-21 11:39:30 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-22 10:46:24 +0200 |
commit | 5a98e329d157a2db8379e0c97c6bdc1328027843 (patch) | |
tree | 99fb2928e046fa7a6f69270ebed6ff8a8309dacd /Kernel/Devices/BXVGADevice.cpp | |
parent | 8a75e0b892ab8e1c4765ac4e2f7289b258f1bf5a (diff) | |
download | serenity-5a98e329d157a2db8379e0c97c6bdc1328027843.zip |
AK: Get rid of make_singleton function
Just default the InitFunction template argument.
Diffstat (limited to 'Kernel/Devices/BXVGADevice.cpp')
-rw-r--r-- | Kernel/Devices/BXVGADevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/BXVGADevice.cpp b/Kernel/Devices/BXVGADevice.cpp index ee822dac29..c9f1732260 100644 --- a/Kernel/Devices/BXVGADevice.cpp +++ b/Kernel/Devices/BXVGADevice.cpp @@ -57,7 +57,7 @@ namespace Kernel { #define VBE_DISPI_ENABLED 0x01 #define VBE_DISPI_LFB_ENABLED 0x40 -static auto s_the = AK::make_singleton<BXVGADevice>(); +static AK::Singleton<BXVGADevice> s_the; void BXVGADevice::initialize() { |