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 <thakis@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Auto-Submit: Nico Weber <thakis@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
Nico Weber 2021-04-05 20:35:47 +00:00 committed by Commit Bot service account
parent 2cccd5a70c
commit 68c226db43
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
namespace dawn_wire {
enum class WireResult {
enum class DAWN_NO_DISCARD WireResult {
Success,
FatalError,
};