From 442f27a51186086e5ab62ca748fdb719414cd7d0 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 13 Nov 2020 19:37:12 +0100 Subject: [PATCH] Re-order constructors. --- src/curl_wrapper.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/curl_wrapper.hpp b/src/curl_wrapper.hpp index 7dbc738..0c3b6f2 100644 --- a/src/curl_wrapper.hpp +++ b/src/curl_wrapper.hpp @@ -53,12 +53,6 @@ public: */ CURLWrapper(); - //! Copy constructor. @since 0.1.0 - CURLWrapper(const CURLWrapper &other) = delete; - - //! Move constructor @since 0.1.0 - CURLWrapper(CURLWrapper &&other) noexcept = delete; - /*! * @brief Cleans up curl and connection. * @@ -71,6 +65,12 @@ public: */ virtual ~CURLWrapper() noexcept; + //! Copy constructor. @since 0.1.0 + CURLWrapper(const CURLWrapper &other) = delete; + + //! Move constructor @since 0.1.0 + CURLWrapper(CURLWrapper &&other) noexcept = delete; + //! Copy assignment operator @since 0.1.0 CURLWrapper &operator=(const CURLWrapper &other) = delete;