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