File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ namespace curl {
336
336
337
337
// Implementation of add method
338
338
template <typename T> void curl_multi::add (const curl_pair<CURLMoption,T> &pair) {
339
- const CURLMcode code = curl_multi_setopt (this ->curl ,pair.first (),pair.second ());
339
+ const CURLMcode code = curl_multi_setopt (this ->curl . get () ,pair.first (),pair.second ());
340
340
if (code != CURLM_OK) {
341
341
throw curl_multi_exception (code,__FUNCTION__);
342
342
}
@@ -351,7 +351,7 @@ namespace curl {
351
351
352
352
// Implementation of overloaded add method.
353
353
template <CURLMoption Opt> void curl_multi::add (detail::MOption_type<Opt> val) {
354
- const auto code = curl_multi_setopt (this ->curl , Opt, val);
354
+ const auto code = curl_multi_setopt (this ->curl . get () , Opt, val);
355
355
if (code != CURLM_OK) {
356
356
throw curl_multi_exception (code, __FUNCTION__);
357
357
}
You can’t perform that action at this time.
0 commit comments