From ccc9b8235e8936fdcf24833faa24544cc32883e8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 4 Jan 2020 19:06:27 +0100 Subject: [PATCH] Add [[nodiscard]] to make_request(). --- include/curl_wrapper.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp index 516af5b..9da4912 100644 --- a/include/curl_wrapper.hpp +++ b/include/curl_wrapper.hpp @@ -78,6 +78,7 @@ public: //! Move assignment operator CURLWrapper& operator=(CURLWrapper &&other) noexcept = default; + [[nodiscard]] string make_request(const http_method &meth, const string_view &uri); private: