| 90 | |
| 91 | // Implementation of the singleton initializer |
| 92 | template<class T> curl_interface<T>::global_initializer::global_initializer(const long flag) { |
| 93 | const CURLcode code = curl_global_init(flag); |
| 94 | if (code != CURLE_OK) { |
| 95 | throw curl_easy_exception(code,__FUNCTION__); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | // Implementation of the singleton destructor |
| 100 | template<class T> curl_interface<T>::global_initializer::~global_initializer() { |
nothing calls this directly
no test coverage detected