Make HTTPResponse no longer have shared_from_this

This commit is contained in:
Mm2PL 2024-10-08 13:30:42 +02:00
parent 1f2b25eb76
commit 072003c0fe
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -1,7 +1,6 @@
#pragma once
#ifdef CHATTERINO_HAVE_PLUGINS
# include "common/network/NetworkResult.hpp"
# include "controllers/plugins/LuaUtilities.hpp"
# include <lua.h>
@ -16,7 +15,7 @@ namespace chatterino::lua::api {
/**
* @lua@class HTTPResponse
*/
class HTTPResponse : public std::enable_shared_from_this<HTTPResponse>
class HTTPResponse
{
NetworkResult result_;