Mark CURLWrapper::escape_url() and unescape_url() nodiscard.
This commit is contained in:
parent
78ef177e58
commit
b4428ed823
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user