lib/curl/Init: add const
overloads
This commit is contained in:
parent
2d1493ed7a
commit
4f6144dc71
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user