From: Oschowa Date: Fri, 22 May 2020 10:40:29 +0000 (+0200) Subject: aco: Don't declare 'Block' as class, but define as struct. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=536339b0dda33241d21a0e045681419ca46fc812;p=mesa.git aco: Don't declare 'Block' as class, but define as struct. Fixes clang warnings. Reviewed-by: Rhys Perry Reviewed-by: Samuel Pitoiset Part-of: --- diff --git a/src/amd/compiler/aco_ir.h b/src/amd/compiler/aco_ir.h index 3921cad89ab..a25efe1e7a1 100644 --- a/src/amd/compiler/aco_ir.h +++ b/src/amd/compiler/aco_ir.h @@ -748,7 +748,7 @@ private: }; }; -class Block; +struct Block; struct Instruction { aco_opcode opcode;