diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/curl_wrapper.hpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp index 6eb9d93..ffe0876 100644 --- a/include/curl_wrapper.hpp +++ b/include/curl_wrapper.hpp @@ -70,8 +70,12 @@ public: */ CURLWrapper(); - //! Copy constructor - CURLWrapper(const CURLWrapper &other) = delete; + /*! + * @brief Copy constructor. Does the same as the Constructor. + * + * @since 0.5.2 + */ + CURLWrapper(const CURLWrapper &); //! Move constructor CURLWrapper(CURLWrapper &&other) noexcept = delete; @@ -254,6 +258,13 @@ private: bool _stream_cancelled; /*! + * @brief Initializes curl and sets up connection. + * + * @since 0.5.2 + */ + void init(); + + /*! * @brief libcurl write callback function. * * @since 0.1.0 |