Module: Mesa Branch: master Commit: 536339b0dda33241d21a0e045681419ca46fc812 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=536339b0dda33241d21a0e045681419ca46fc812
Author: Oschowa <osch...@web.de> Date: Fri May 22 12:40:29 2020 +0200 aco: Don't declare 'Block' as class, but define as struct. Fixes clang warnings. Reviewed-by: Rhys Perry <pendingchao...@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5228> --- 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 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit