summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/DevPtsFS.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/DevPtsFS.cpp
parent8a75e0b892ab8e1c4765ac4e2f7289b258f1bf5a (diff)
downloadserenity-5a98e329d157a2db8379e0c97c6bdc1328027843.zip
AK: Get rid of make_singleton function
Just default the InitFunction template argument.
Diffstat (limited to 'Kernel/FileSystem/DevPtsFS.cpp')
-rw-r--r--Kernel/FileSystem/DevPtsFS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/DevPtsFS.cpp b/Kernel/FileSystem/DevPtsFS.cpp
index 2849b8f58b..7ee4d28aa0 100644
--- a/Kernel/FileSystem/DevPtsFS.cpp
+++ b/Kernel/FileSystem/DevPtsFS.cpp
@@ -46,7 +46,7 @@ DevPtsFS::~DevPtsFS()
{
}
-static auto s_ptys = AK::make_singleton<HashTable<unsigned>>();
+static AK::Singleton<HashTable<unsigned>> s_ptys;
bool DevPtsFS::initialize()
{