mirror of
https://github.com/yuzu-emu/sirit.git
synced 2024-11-29 08:14:19 +01: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
@ -15,7 +15,7 @@
|
||||
namespace Sirit {
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user