summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/FIFO.cpp
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/FileSystem/FIFO.cpp
parent8a75e0b892ab8e1c4765ac4e2f7289b258f1bf5a (diff)
downloadserenity-5a98e329d157a2db8379e0c97c6bdc1328027843.zip
AK: Get rid of make_singleton function
Just default the InitFunction template argument.
Diffstat (limited to 'Kernel/FileSystem/FIFO.cpp')
-rw-r--r--Kernel/FileSystem/FIFO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/FIFO.cpp b/Kernel/FileSystem/FIFO.cpp
index 52daa26f50..3b22a45c6a 100644
--- a/Kernel/FileSystem/FIFO.cpp
+++ b/Kernel/FileSystem/FIFO.cpp
@@ -38,7 +38,7 @@
namespace Kernel {
-static auto s_table = AK::make_singleton<Lockable<HashTable<FIFO*>>>();
+static AK::Singleton<Lockable<HashTable<FIFO*>>> s_table;
static Lockable<HashTable<FIFO*>>& all_fifos()
{