lib/curl/Init: add const overloads

This commit is contained in:
Max Kellermann 2019-04-04 20:06:25 +02:00
parent 2d1493ed7a
commit 4f6144dc71

View File

@ -54,9 +54,17 @@ public:
return *instance;
}
const CurlGlobal &operator*() const noexcept {
return *instance;
}
CurlGlobal *operator->() noexcept {
return instance;
}
const CurlGlobal *operator->() const noexcept {
return instance;
}
};
#endif