Explorar el Código

Fix -Wdeprecated-copy warning.

Markus Wick hace 6 años
padre
commit
e717a1df20
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/video_core/engines/shader_bytecode.h

+ 1 - 0
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;