From 3c34d83088f6e90294f63d1191b04d2f1d70429a Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Tue, 11 Oct 2022 16:31:52 +0000 Subject: [PATCH] tint/ast: Add missing 'const' on pointer member Change-Id: I8572e3b3f1b26ba79b1306e23f3447cc739108a4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/104660 Auto-Submit: Ben Clayton Commit-Queue: Dan Sinclair Kokoro: Kokoro Reviewed-by: Dan Sinclair --- src/tint/ast/if_statement.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tint/ast/if_statement.h b/src/tint/ast/if_statement.h index 81d9756c66..1c1abc35a4 100644 --- a/src/tint/ast/if_statement.h +++ b/src/tint/ast/if_statement.h @@ -55,7 +55,7 @@ class IfStatement final : public Castable { const BlockStatement* const body; /// The optional else statement, or nullptr - const Statement* else_statement; + const Statement* const else_statement; }; } // namespace tint::ast