summaryrefslogtreecommitdiff
path: root/highlevelilinstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'highlevelilinstruction.cpp')
-rw-r--r--highlevelilinstruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/highlevelilinstruction.cpp b/highlevelilinstruction.cpp
index 37504253..af5ae5f8 100644
--- a/highlevelilinstruction.cpp
+++ b/highlevelilinstruction.cpp
@@ -840,6 +840,7 @@ void HighLevelILInstructionBase::UpdateRawOperandAsExprList(
size_t operandIndex, const vector<HighLevelILInstruction>& exprs)
{
vector<ExprId> exprIndexList;
+ exprIndexList.reserve(exprs.size());
for (auto& i : exprs)
exprIndexList.push_back((ExprId)i.exprIndex);
UpdateRawOperand(operandIndex, exprIndexList.size());