summaryrefslogtreecommitdiff
path: root/Kernel/TTY
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-08-21 11:39:30 -0600
committerAndreas Kling <kling@serenityos.org>2020-08-22 10:46:24 +0200
commit5a98e329d157a2db8379e0c97c6bdc1328027843 (patch)
tree99fb2928e046fa7a6f69270ebed6ff8a8309dacd /Kernel/TTY
parent8a75e0b892ab8e1c4765ac4e2f7289b258f1bf5a (diff)
downloadserenity-5a98e329d157a2db8379e0c97c6bdc1328027843.zip
AK: Get rid of make_singleton function
Just default the InitFunction template argument.
Diffstat (limited to 'Kernel/TTY')
-rw-r--r--Kernel/TTY/PTYMultiplexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/TTY/PTYMultiplexer.cpp b/Kernel/TTY/PTYMultiplexer.cpp
index c44a565ae9..e4b7394a9b 100644
--- a/Kernel/TTY/PTYMultiplexer.cpp
+++ b/Kernel/TTY/PTYMultiplexer.cpp
@@ -36,7 +36,7 @@
namespace Kernel {
static const unsigned s_max_pty_pairs = 8;
-static auto s_the = AK::make_singleton<PTYMultiplexer>();
+static AK::Singleton<PTYMultiplexer> s_the;
PTYMultiplexer& PTYMultiplexer::the()
{