lib/curl/Multi: move operator bool() down

This commit is contained in:
Max Kellermann 2021-03-29 20:13:13 +02:00
parent fe2ca1ddef
commit c5fec4ac2a

View File

@ -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;
}