mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
LibWeb: Mark Web::WebDriver::Response as [[nodiscard]]
This commit is contained in:
parent
0ae015e266
commit
ae1611aa08
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace Web::WebDriver {
|
|||
|
||||
// FIXME: Ideally, this could be `using Response = ErrorOr<JsonValue, Error>`, 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&&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue