From 8b150dae161ead97b4acd2b24bb92a7a96d10940 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 12 Dec 2022 08:17:43 +0100 Subject: [PATCH] Replace at accessor by [] operator in function Classify::CreateIntTemplates Suggested-by: Egor Pugin Signed-off-by: Stefan Weil --- src/classify/intproto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classify/intproto.cpp b/src/classify/intproto.cpp index b4a49c0056..854026bcc9 100644 --- a/src/classify/intproto.cpp +++ b/src/classify/intproto.cpp @@ -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);