mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibHTTP: Make HttpRequest default-movable
Otherwise, clangd correctly warns that this type is only copyable.
This commit is contained in:
parent
f253246a6c
commit
db1bcb2c56
|
|
@ -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 New Issue
Block a user