diff options
Diffstat (limited to 'Userland/Libraries/LibGemini/GeminiResponse.h')
-rw-r--r-- | Userland/Libraries/LibGemini/GeminiResponse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGemini/GeminiResponse.h b/Userland/Libraries/LibGemini/GeminiResponse.h index 192ece3fff..a69a686cc0 100644 --- a/Userland/Libraries/LibGemini/GeminiResponse.h +++ b/Userland/Libraries/LibGemini/GeminiResponse.h @@ -16,7 +16,7 @@ public: virtual ~GeminiResponse() override; static NonnullRefPtr<GeminiResponse> create(int status, String meta) { - return adopt(*new GeminiResponse(status, meta)); + return adopt_ref(*new GeminiResponse(status, meta)); } int status() const { return m_status; } |