mirror of
https://github.com/yuzu-emu/sirit
synced 2024-11-22 22:24:00 +00:00
op: Amend constructor initializer list order
Amends the order of the initializer list to be structured the same way the members are ordered. Silences a -Wreorder warning.
This commit is contained in:
parent
2035d25bef
commit
984b731e17
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
namespace Sirit {
|
namespace Sirit {
|
||||||
|
|
||||||
Op::Op(spv::Op opcode, std::optional<u32> id, Id result_type)
|
Op::Op(spv::Op opcode, std::optional<u32> id, Id result_type)
|
||||||
: opcode(opcode), id(id), result_type(result_type) {
|
: opcode(opcode), result_type(result_type), id(id) {
|
||||||
operand_type = OperandType::Op;
|
operand_type = OperandType::Op;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue