make HttpRequestData_ constructor inline

This commit is contained in:
Slavasil 2024-11-27 00:29:02 +03:00
parent 9b758c6fb8
commit 86eb568c25

2
http.h
View File

@ -53,7 +53,7 @@ namespace http {
CurlSocketData_ *socketData = nullptr;
ResponseCallback callback;
std::unique_ptr<HttpResponse> response;
HttpRequestData_(HttpClient *client) {
inline HttpRequestData_(HttpClient *client) {
this->client = client;
}
};