[cff] Cosmetic in parsed_values_t

This commit is contained in:
Behdad Esfahbod 2022-05-13 14:14:36 -06:00
parent b46c7faa9c
commit acdab17ed3
1 changed files with 2 additions and 2 deletions

View File

@ -543,8 +543,8 @@ struct parsed_values_t
bool has_op (op_code_t op) const
{
for (unsigned int i = 0; i < get_count (); i++)
if (get_value (i).op == op) return true;
for (const auto& v : values)
if (v.op == op) return true;
return false;
}