lib/curl/Init: add `const` overloads
This commit is contained in:
parent
2d1493ed7a
commit
4f6144dc71
|
@ -54,9 +54,17 @@ public:
|
||||||
return *instance;
|
return *instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const CurlGlobal &operator*() const noexcept {
|
||||||
|
return *instance;
|
||||||
|
}
|
||||||
|
|
||||||
CurlGlobal *operator->() noexcept {
|
CurlGlobal *operator->() noexcept {
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const CurlGlobal *operator->() const noexcept {
|
||||||
|
return instance;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue