mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
LibHTTP: Make HttpRequest default-movable
Otherwise, clangd correctly warns that this type is only copyable. (cherry picked from commit db1bcb2c5600c98a33f48fdb68e16ac68e5a8e25)
This commit is contained in:
parent
9614721bde
commit
5eaa3cc71f
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <AK/ByteBuffer.h>
|
||||
#include <AK/ByteString.h>
|
||||
#include <AK/Noncopyable.h>
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibCore/Forward.h>
|
||||
|
@ -64,6 +65,8 @@ public:
|
|||
HttpRequest() = default;
|
||||
~HttpRequest() = default;
|
||||
|
||||
AK_MAKE_DEFAULT_MOVABLE(HttpRequest);
|
||||
|
||||
ByteString const& resource() const { return m_resource; }
|
||||
HeaderMap const& headers() const { return m_headers; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue