mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 03:56:16 +00:00
Kernel: Make File weakable
This will be useful for some things. This also removes the need for TCPSocket to be special about this.
This commit is contained in:
parent
22831033d0
commit
48a0b76a77
Notes:
sideshowbarker
2024-07-19 02:53:03 +09:00
Author: https://github.com/awesomekling
Commit: 48a0b76a77
2 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue