summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-08-27 04:20:58 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-08-27 04:20:58 +0000
commit178f612d10f282c8422874f506c21035f7992721 (patch)
treedab155e633471d5d6a1fa1bdaa1180765f3e194a
parent8e5b0334dd3dc75230eb8278bc7ddd9779af04b7 (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.h2
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;