From c5fec4ac2aa408758f3aff7d35c59b2f999fa799 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 29 Mar 2021 20:13:13 +0200 Subject: [PATCH] lib/curl/Multi: move operator bool() down --- src/lib/curl/Multi.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/curl/Multi.hxx b/src/lib/curl/Multi.hxx index 359a6e35a..d8f8470ff 100644 --- a/src/lib/curl/Multi.hxx +++ b/src/lib/curl/Multi.hxx @@ -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; }