lib/curl/Init: add noexcept

This commit is contained in:
Max Kellermann 2019-04-04 20:06:11 +02:00
parent 81c16273c5
commit abe06a5fa6

View File

@ -50,11 +50,11 @@ public:
CurlInit(const CurlInit &) = delete; CurlInit(const CurlInit &) = delete;
CurlInit &operator=(const CurlInit &) = delete; CurlInit &operator=(const CurlInit &) = delete;
CurlGlobal &operator*() { CurlGlobal &operator*() noexcept {
return *instance; return *instance;
} }
CurlGlobal *operator->() { CurlGlobal *operator->() noexcept {
return instance; return instance;
} }
}; };