summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/FIFO.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-22 16:34:14 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-22 16:34:14 +0200
commit68580d5a8d7adae1eebfa5a8c369d96a70d06bdb (patch)
tree83298fe2754fd1b2a2069d6d89efe5414b7d8b48 /Kernel/FileSystem/FIFO.cpp
parent8a21491d863cd904aeed3b9bbf6d8bc8f537972c (diff)
downloadserenity-68580d5a8d7adae1eebfa5a8c369d96a70d06bdb.zip
Revert "AK: Get rid of make_singleton function"
This reverts commit 5a98e329d157a2db8379e0c97c6bdc1328027843.
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 3b22a45c6a..52daa26f50 100644
--- a/Kernel/FileSystem/FIFO.cpp
+++ b/Kernel/FileSystem/FIFO.cpp
@@ -38,7 +38,7 @@
namespace Kernel {
-static AK::Singleton<Lockable<HashTable<FIFO*>>> s_table;
+static auto s_table = AK::make_singleton<Lockable<HashTable<FIFO*>>>();
static Lockable<HashTable<FIFO*>>& all_fifos()
{