diff --git a/src/op.cpp b/src/op.cpp index ee383fe..4bebe01 100644 --- a/src/op.cpp +++ b/src/op.cpp @@ -15,7 +15,7 @@ namespace Sirit { Op::Op(spv::Op opcode, std::optional id, Id result_type) - : opcode(opcode), id(id), result_type(result_type) { + : opcode(opcode), result_type(result_type), id(id) { operand_type = OperandType::Op; }