mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2024-12-22 12:12:05 +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 {
|
||||
|
||||
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 a new issue