mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 04:07:51 +00:00
LibWeb: Make Fetch::Infrastructure::Request::set_client() take a pointer
This commit is contained in:
parent
72a752685f
commit
16d6c62193
Notes:
sideshowbarker
2024-07-17 06:21:12 +09:00
Author: https://github.com/linusg
Commit: 16d6c62193
Pull-request: https://github.com/SerenityOS/serenity/pull/15478
2 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ public:
|
|||
|
||||
[[nodiscard]] HTML::EnvironmentSettingsObject const* client() const { return m_client; }
|
||||
[[nodiscard]] HTML::EnvironmentSettingsObject* client() { return m_client; }
|
||||
void set_client(HTML::EnvironmentSettingsObject& client) { m_client = &client; }
|
||||
void set_client(HTML::EnvironmentSettingsObject* client) { m_client = client; }
|
||||
|
||||
[[nodiscard]] ReservedClientType const& reserved_client() const { return m_reserved_client; }
|
||||
[[nodiscard]] ReservedClientType& reserved_client() { return m_reserved_client; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue