mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
Fix CID 1534948 (COPY_INSTEAD_OF_MOVE)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
d172f9b802
commit
479789b379
@ -225,7 +225,7 @@ void ShapeClassifier::FilterDuplicateUnichars(std::vector<ShapeRating> *results)
|
||||
}
|
||||
filtered_results.push_back((*results)[r]);
|
||||
}
|
||||
*results = filtered_results;
|
||||
*results = std::move(filtered_results);
|
||||
}
|
||||
|
||||
} // namespace tesseract.
|
||||
|
Loading…
Reference in New Issue
Block a user