mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +00:00
LibHTTP: Avoid implicitly copying ByteBuffer
This commit is contained in:
parent
d78365f785
commit
f59f7674c8
Notes:
sideshowbarker
2024-07-17 23:04:19 +09:00
Author: https://github.com/BenWiederhake
Commit: f59f7674c8
Pull-request: https://github.com/SerenityOS/serenity/pull/11142
Reviewed-by: https://github.com/IdanHo
5 changed files with 10 additions and 10 deletions
|
@ -41,8 +41,8 @@ protected:
|
|||
virtual bool is_established() const override { return true; }
|
||||
|
||||
private:
|
||||
explicit HttpJob(const HttpRequest& request, OutputStream& output_stream)
|
||||
: Job(request, output_stream)
|
||||
explicit HttpJob(HttpRequest&& request, OutputStream& output_stream)
|
||||
: Job(move(request), output_stream)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue