gd-tools/cpr-1.10.5/cpr/curlmultiholder.cpp

15 lines
250 B
C++
Raw Normal View History

2024-02-07 20:32:30 +00:00
#include "cpr/curlmultiholder.h"
#include <cassert>
namespace cpr {
CurlMultiHolder::CurlMultiHolder() : handle{curl_multi_init()} {
assert(handle);
}
CurlMultiHolder::~CurlMultiHolder() {
curl_multi_cleanup(handle);
}
} // namespace cpr