Skip to content

Commit

Permalink
Replace at accessor by [] operator in function Classify::CreateIntTem…
Browse files Browse the repository at this point in the history
…plates

Suggested-by: Egor Pugin <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Dec 12, 2022
1 parent c7477f5 commit 8b150da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classify/intproto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ INT_TEMPLATES_STRUCT *Classify::CreateIntTemplates(CLASSES FloatProtos,
FontSet fs;
fs.reserve(fs_size);
for (unsigned i = 0; i < fs_size; ++i) {
fs.push_back(FClass->font_set.at(i));
fs.push_back(FClass->font_set[i]);
}
IClass->font_set_id = this->fontset_table_.push_back(fs);
AddIntClass(IntTemplates, ClassId, IClass);
Expand Down

0 comments on commit 8b150da

Please sign in to comment.