From 68c226db438c7b53b60f6c2931666a8bf27e8ed5 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 5 Apr 2021 20:35:47 +0000 Subject: [PATCH] Better fix for DAWN_NO_DISCARD on WireResult The attribute was just in the wrong place, I shouldn't have removed it completely. Bug: chromium:1195827 Change-Id: Iad2a5fdcc2e8bd76ddb82cc09cde62c3a57e3c54 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46800 Reviewed-by: Nico Weber Reviewed-by: Austin Eng Auto-Submit: Nico Weber Commit-Queue: Austin Eng --- src/dawn_wire/WireResult.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dawn_wire/WireResult.h b/src/dawn_wire/WireResult.h index e6a7691f9f..fc0deb3c86 100644 --- a/src/dawn_wire/WireResult.h +++ b/src/dawn_wire/WireResult.h @@ -19,7 +19,7 @@ namespace dawn_wire { - enum class WireResult { + enum class DAWN_NO_DISCARD WireResult { Success, FatalError, };