| 334 | |
| 335 | // Implementation of add method |
| 336 | template<typename T> void curl_multi::add(const curl_pair<CURLMoption,T> &pair) { |
| 337 | const CURLMcode code = curl_multi_setopt(this->curl.get(),pair.first(),pair.second()); |
| 338 | if (code != CURLM_OK) { |
| 339 | throw curl_multi_exception(code,__FUNCTION__); |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | // Implementation of overloaded add method. |
| 344 | template<typename Iterator> void curl_multi::add(Iterator begin, const Iterator end) { |
nothing calls this directly
no test coverage detected