lib/curl/Multi: move operator bool() down
This commit is contained in:
parent
fe2ca1ddef
commit
c5fec4ac2a
@ -69,15 +69,15 @@ public:
|
||||
curl_multi_cleanup(handle);
|
||||
}
|
||||
|
||||
operator bool() const noexcept {
|
||||
return handle != nullptr;
|
||||
}
|
||||
|
||||
CurlMulti &operator=(CurlMulti &&src) noexcept {
|
||||
std::swap(handle, src.handle);
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator bool() const noexcept {
|
||||
return handle != nullptr;
|
||||
}
|
||||
|
||||
CURLM *Get() noexcept {
|
||||
return handle;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user