diff --git a/src/lib/curl/Easy.hxx b/src/lib/curl/Easy.hxx index 00d66c27d..ac22b93f9 100644 --- a/src/lib/curl/Easy.hxx +++ b/src/lib/curl/Easy.hxx @@ -57,6 +57,11 @@ public: throw std::runtime_error("curl_easy_init() failed"); } + explicit CurlEasy(const char *url) + :CurlEasy() { + SetURL(url); + } + /** * Create an empty instance. */