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/Net/LocalSocket.cpp | |
parent | 8a21491d863cd904aeed3b9bbf6d8bc8f537972c (diff) | |
download | serenity-68580d5a8d7adae1eebfa5a8c369d96a70d06bdb.zip |
Revert "AK: Get rid of make_singleton function"
This reverts commit 5a98e329d157a2db8379e0c97c6bdc1328027843.
Diffstat (limited to 'Kernel/Net/LocalSocket.cpp')
-rw-r--r-- | Kernel/Net/LocalSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/LocalSocket.cpp b/Kernel/Net/LocalSocket.cpp index ca7863bd9c..6750f93403 100644 --- a/Kernel/Net/LocalSocket.cpp +++ b/Kernel/Net/LocalSocket.cpp @@ -38,7 +38,7 @@ namespace Kernel { -static AK::Singleton<Lockable<InlineLinkedList<LocalSocket>>> s_list; +static auto s_list = AK::make_singleton<Lockable<InlineLinkedList<LocalSocket>>>(); Lockable<InlineLinkedList<LocalSocket>>& LocalSocket::all_sockets() { |