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:
Timothy Flynn 2024-10-27 15:48:04 -04:00 committed by Nico Weber
parent 9614721bde
commit 5eaa3cc71f

View file

@ -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; }