From 536339b0dda33241d21a0e045681419ca46fc812 Mon Sep 17 00:00:00 2001 From: Oschowa Date: Fri, 22 May 2020 12:40:29 +0200 Subject: [PATCH] aco: Don't declare 'Block' as class, but define as struct. Fixes clang warnings. Reviewed-by: Rhys Perry Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/compiler/aco_ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_ir.h b/src/amd/compiler/aco_ir.h index 3921cad..a25efe1 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; -- 2.7.4