1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

LibTLS: Pass socket address as const reference

This commit is contained in:
devgianlu 2025-02-22 12:42:48 +01:00 committed by Ali Mohammad Pur
parent 752f5b18fd
commit f74131d50a
Notes: github-actions[bot] 2025-02-22 17:41:09 +00:00
2 changed files with 4 additions and 4 deletions

View file

@ -59,7 +59,7 @@ public:
virtual ErrorOr<void> set_blocking(bool block) override;
virtual ErrorOr<void> set_close_on_exec(bool enabled) override;
static ErrorOr<NonnullOwnPtr<TLSv12>> connect(Core::SocketAddress, ByteString const& host, Options = {});
static ErrorOr<NonnullOwnPtr<TLSv12>> connect(Core::SocketAddress const&, ByteString const& host, Options = {});
static ErrorOr<NonnullOwnPtr<TLSv12>> connect(ByteString const& host, u16 port, Options = {});
~TLSv12() override;