diff options
Diffstat (limited to 'Userland/Libraries/LibHTTP/HttpResponse.h')
-rw-r--r-- | Userland/Libraries/LibHTTP/HttpResponse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibHTTP/HttpResponse.h b/Userland/Libraries/LibHTTP/HttpResponse.h index d46e30c32a..897e013684 100644 --- a/Userland/Libraries/LibHTTP/HttpResponse.h +++ b/Userland/Libraries/LibHTTP/HttpResponse.h @@ -17,7 +17,7 @@ public: virtual ~HttpResponse() override; static NonnullRefPtr<HttpResponse> create(int code, HashMap<String, String, CaseInsensitiveStringTraits>&& headers) { - return adopt(*new HttpResponse(code, move(headers))); + return adopt_ref(*new HttpResponse(code, move(headers))); } int code() const { return m_code; } |