diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-22 16:34:14 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-22 16:34:14 +0200 |
commit | 68580d5a8d7adae1eebfa5a8c369d96a70d06bdb (patch) | |
tree | 83298fe2754fd1b2a2069d6d89efe5414b7d8b48 /Kernel/Console.cpp | |
parent | 8a21491d863cd904aeed3b9bbf6d8bc8f537972c (diff) | |
download | serenity-68580d5a8d7adae1eebfa5a8c369d96a70d06bdb.zip |
Revert "AK: Get rid of make_singleton function"
This reverts commit 5a98e329d157a2db8379e0c97c6bdc1328027843.
Diffstat (limited to 'Kernel/Console.cpp')
-rw-r--r-- | Kernel/Console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Console.cpp b/Kernel/Console.cpp index e511a2d876..c3fa023521 100644 --- a/Kernel/Console.cpp +++ b/Kernel/Console.cpp @@ -33,7 +33,7 @@ // Bytes output to 0xE9 end up on the Bochs console. It's very handy. #define CONSOLE_OUT_TO_E9 -static AK::Singleton<Console> s_the; +static auto s_the = AK::make_singleton<Console>(); static Kernel::SpinLock g_console_lock; void Console::initialize() |