summaryrefslogtreecommitdiff
path: root/Kernel/Net/TCPSocket.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-07 21:34:11 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-08 00:03:45 +0200
commitc94c15d45cbcca4e753c94665d698bb09d96313c (patch)
tree19352d5302f16c7a79d733786c72a6f32232a6b6 /Kernel/Net/TCPSocket.cpp
parenteb60cb156da0f88d0f6930fb9cc32012ac56e28e (diff)
downloadserenity-c94c15d45cbcca4e753c94665d698bb09d96313c.zip
Everywhere: Replace AK::Singleton => Singleton
Diffstat (limited to 'Kernel/Net/TCPSocket.cpp')
-rw-r--r--Kernel/Net/TCPSocket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Net/TCPSocket.cpp b/Kernel/Net/TCPSocket.cpp
index c9af9da414..c03e631509 100644
--- a/Kernel/Net/TCPSocket.cpp
+++ b/Kernel/Net/TCPSocket.cpp
@@ -54,14 +54,14 @@ void TCPSocket::set_state(State new_state)
evaluate_block_conditions();
}
-static AK::Singleton<ProtectedValue<HashMap<IPv4SocketTuple, RefPtr<TCPSocket>>>> s_socket_closing;
+static Singleton<ProtectedValue<HashMap<IPv4SocketTuple, RefPtr<TCPSocket>>>> s_socket_closing;
ProtectedValue<HashMap<IPv4SocketTuple, RefPtr<TCPSocket>>>& TCPSocket::closing_sockets()
{
return *s_socket_closing;
}
-static AK::Singleton<ProtectedValue<HashMap<IPv4SocketTuple, TCPSocket*>>> s_socket_tuples;
+static Singleton<ProtectedValue<HashMap<IPv4SocketTuple, TCPSocket*>>> s_socket_tuples;
ProtectedValue<HashMap<IPv4SocketTuple, TCPSocket*>>& TCPSocket::sockets_by_tuple()
{
@@ -512,7 +512,7 @@ KResult TCPSocket::close()
return result;
}
-static AK::Singleton<ProtectedValue<HashTable<TCPSocket*>>> s_sockets_for_retransmit;
+static Singleton<ProtectedValue<HashTable<TCPSocket*>>> s_sockets_for_retransmit;
ProtectedValue<HashTable<TCPSocket*>>& TCPSocket::sockets_for_retransmit()
{