lib/curl/Global: remove CURL* parameter from Add() and Remove()

This commit is contained in:
Max Kellermann
2019-08-19 21:53:19 +02:00
parent 0c8ff56a15
commit 2934fc2507
3 changed files with 8 additions and 13 deletions

View File

@@ -54,8 +54,8 @@ public:
return timeout_event.GetEventLoop();
}
void Add(CURL *easy, CurlRequest &request);
void Remove(CURL *easy) noexcept;
void Add(CurlRequest &r);
void Remove(CurlRequest &r) noexcept;
void Assign(curl_socket_t fd, CurlSocket &cs) noexcept {
curl_multi_assign(multi.Get(), fd, &cs);