mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-03 00:49:01 +08:00
Replace GenericVector by std::vector in class ResultIterator
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
2257028052
commit
fccecb2d23
@ -141,7 +141,8 @@ void ResultIterator::CalculateBlobOrder(
|
||||
|
||||
// Step 1: Scan for and mark European Number sequences
|
||||
// [:ET:]*[:EN:]+(([:ES:]|[:CS:])?[:EN:]+)*[:ET:]*
|
||||
GenericVector<int> letter_types;
|
||||
std::vector<int> letter_types;
|
||||
letter_types.reserve(word_length_);
|
||||
for (int i = 0; i < word_length_; i++) {
|
||||
letter_types.push_back(it_->word()->SymbolDirection(i));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user