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/FileSystem/FIFO.cpp | |
parent | 8a21491d863cd904aeed3b9bbf6d8bc8f537972c (diff) | |
download | serenity-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.cpp | 2 |
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() { |