소스 검색

Fix -Wdeprecated-copy warning.

Markus Wick 6 년 전
부모
커밋
e717a1df20
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;