Fix -Wdeprecated-copy warning.
This commit is contained in:
parent
c499c22cf7
commit
e717a1df20
|
@ -655,6 +655,7 @@ union Instruction {
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr Instruction(u64 value) : value{value} {}
|
constexpr Instruction(u64 value) : value{value} {}
|
||||||
|
constexpr Instruction(const Instruction& instr) : value(instr.value) {}
|
||||||
|
|
||||||
BitField<0, 8, Register> gpr0;
|
BitField<0, 8, Register> gpr0;
|
||||||
BitField<8, 8, Register> gpr8;
|
BitField<8, 8, Register> gpr8;
|
||||||
|
|
Reference in New Issue