mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Fix CID 1534945 (COPY_INSTEAD_OF_MOVE)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
e83f78020e
commit
02409f578a
@ -511,7 +511,7 @@ INT_TEMPLATES_STRUCT *Classify::CreateIntTemplates(CLASSES FloatProtos,
|
||||
for (unsigned i = 0; i < fs_size; ++i) {
|
||||
fs.push_back(FClass->font_set[i]);
|
||||
}
|
||||
IClass->font_set_id = this->fontset_table_.push_back(fs);
|
||||
IClass->font_set_id = this->fontset_table_.push_back(std::move(fs));
|
||||
AddIntClass(IntTemplates, ClassId, IClass);
|
||||
|
||||
for (ProtoId = 0; ProtoId < FClass->NumProtos; ProtoId++) {
|
||||
|
Loading…
Reference in New Issue
Block a user