From ae1611aa08d9cc89b2ce51c344a57905c9cb0f4a Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Tue, 7 Mar 2023 07:37:06 -0500 Subject: [PATCH] LibWeb: Mark Web::WebDriver::Response as [[nodiscard]] --- Userland/Libraries/LibWeb/WebDriver/Response.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/WebDriver/Response.h b/Userland/Libraries/LibWeb/WebDriver/Response.h index 09c76458f8..17d6f780e7 100644 --- a/Userland/Libraries/LibWeb/WebDriver/Response.h +++ b/Userland/Libraries/LibWeb/WebDriver/Response.h @@ -15,7 +15,7 @@ namespace Web::WebDriver { // FIXME: Ideally, this could be `using Response = ErrorOr`, but that won't be // default-constructible, which is a requirement for the generated IPC. -struct Response { +struct [[nodiscard]] Response { Response() = default; Response(JsonValue&&); Response(Error&&);