mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Fix CID 1534944 (COPY_INSTEAD_OF_MOVE)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
5a9a841f40
commit
aa02fb300b
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user