summaryrefslogtreecommitdiff
path: root/Kernel/Net/TCPSocket.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-09-06 18:46:46 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-06 18:46:46 +0200
commit48a0b76a773ff6748a79c0b5e654a5d0b68832a1 (patch)
tree1ef70289813de239002dd7486ccc10c8ca7fb548 /Kernel/Net/TCPSocket.h
parent22831033d03dc8676b5d12af3619d10a295cf8cd (diff)
downloadserenity-48a0b76a773ff6748a79c0b5e654a5d0b68832a1.zip
Kernel: Make File weakable
This will be useful for some things. This also removes the need for TCPSocket to be special about this.
Diffstat (limited to 'Kernel/Net/TCPSocket.h')
-rw-r--r--Kernel/Net/TCPSocket.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/Net/TCPSocket.h b/Kernel/Net/TCPSocket.h
index 44e444eec9..bff5ac14c2 100644
--- a/Kernel/Net/TCPSocket.h
+++ b/Kernel/Net/TCPSocket.h
@@ -34,8 +34,7 @@
namespace Kernel {
-class TCPSocket final : public IPv4Socket
- , public Weakable<TCPSocket> {
+class TCPSocket final : public IPv4Socket {
public:
static void for_each(Function<void(const TCPSocket&)>);
static NonnullRefPtr<TCPSocket> create(int protocol);