1
0
Fork 0
mirror of https://git.suyu.dev/suyu/sirit.git synced 2024-12-22 12:12:05 +00:00

Merge pull request #10 from lioncash/order

op: Amend constructor initializer list order
This commit is contained in:
ReinUsesLisp 2019-03-14 03:48:05 -03:00 committed by GitHub
commit 151d9e816d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}