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

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