From 9d60010b443ec450001afc7eb3d8ca223d09085a Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 14 Jul 2022 00:32:50 +0100 Subject: [PATCH] LibWeb: Mark Fetch::collect_an_http_quoted_string() [[nodiscard]] --- Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP.h b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP.h index 3ccec4d61e..7cbeca4e80 100644 --- a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP.h +++ b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP.h @@ -25,6 +25,6 @@ enum class HttpQuotedStringExtractValue { Yes, }; -String collect_an_http_quoted_string(GenericLexer& lexer, HttpQuotedStringExtractValue extract_value = HttpQuotedStringExtractValue::No); +[[nodiscard]] String collect_an_http_quoted_string(GenericLexer& lexer, HttpQuotedStringExtractValue extract_value = HttpQuotedStringExtractValue::No); }