mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:17:35 +00:00
LibWeb: Make Fetch::Infrastructure::Request::set_client() take a pointer
This commit is contained in:
parent
72a752685f
commit
16d6c62193
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