Fix -Wdeprecated-copy warning.
This commit is contained in:
parent
c499c22cf7
commit
e717a1df20
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue