Fix CID 1534944 (COPY_INSTEAD_OF_MOVE)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2024-03-09 09:57:37 +01:00
parent 5a9a841f40
commit aa02fb300b

View File

@ -1402,7 +1402,7 @@ void ParagraphModelSmearer::CalculateOpenModels(int row_start, int row_end) {
push_back_new(still_open, m);
}
}
OpenModels(row + 1) = still_open;
OpenModels(row + 1) = std::move(still_open);
}
}
}