diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-08-27 04:20:58 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-08-27 04:20:58 +0000 |
commit | 178f612d10f282c8422874f506c21035f7992721 (patch) | |
tree | dab155e633471d5d6a1fa1bdaa1180765f3e194a | |
parent | 8e5b0334dd3dc75230eb8278bc7ddd9779af04b7 (diff) |
aco: Don't declare 'Block' as class, but define as struct.
From Oschowa
536339b0dda33241d21a0e045681419ca46fc812 in mainline mesa
reduces clang warnings
-rw-r--r-- | lib/mesa/src/amd/compiler/aco_ir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/amd/compiler/aco_ir.h b/lib/mesa/src/amd/compiler/aco_ir.h index 5bddc116b..0e7aca625 100644 --- a/lib/mesa/src/amd/compiler/aco_ir.h +++ b/lib/mesa/src/amd/compiler/aco_ir.h @@ -747,7 +747,7 @@ private: }; }; -class Block; +struct Block; struct Instruction { aco_opcode opcode; |