From e717a1df20b45dc9bd4b77bbbc3d54b1561189d3 Mon Sep 17 00:00:00 2001 From: Markus Wick Date: Fri, 24 Apr 2020 09:29:07 +0200 Subject: Fix -Wdeprecated-copy warning. --- src/video_core/engines/shader_bytecode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/video_core') diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 7231597d4..73d98fe8c 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -655,6 +655,7 @@ union Instruction { } constexpr Instruction(u64 value) : value{value} {} + constexpr Instruction(const Instruction& instr) : value(instr.value) {} BitField<0, 8, Register> gpr0; BitField<8, 8, Register> gpr8; -- cgit v1.2.3