summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/curl_wrapper.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp
index 4b681c0..f8e567b 100644
--- a/include/curl_wrapper.hpp
+++ b/include/curl_wrapper.hpp
@@ -157,6 +157,7 @@ public:
*
* @since 0.3.0
*/
+ [[nodiscard]]
inline string escape_url(const string_view url) const
{
char *cbuf{curl_easy_escape(_connection, url.data(),
@@ -178,6 +179,7 @@ public:
*
* @since 0.3.0
*/
+ [[nodiscard]]
inline string unescape_url(const string_view url) const
{
char *cbuf{curl_easy_unescape(_connection, url.data(),