diff --git a/src/lib/curl/Init.hxx b/src/lib/curl/Init.hxx index b08196d86..d19655a31 100644 --- a/src/lib/curl/Init.hxx +++ b/src/lib/curl/Init.hxx @@ -50,11 +50,11 @@ public: CurlInit(const CurlInit &) = delete; CurlInit &operator=(const CurlInit &) = delete; - CurlGlobal &operator*() { + CurlGlobal &operator*() noexcept { return *instance; } - CurlGlobal *operator->() { + CurlGlobal *operator->() noexcept { return instance; } };