Commit 1de3ac6c authored by Max Kellermann's avatar Max Kellermann

lib/curl/Init: add `const` overloads

parent abe06a5f
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment