Replace possibly missing std::less comparator with dynamic binding

master
Ansariel 2025-05-12 22:13:29 +02:00
parent 7e87933db3
commit fccc010038
1 changed files with 2 additions and 2 deletions

View File

@ -156,9 +156,9 @@ LLBVHLoader::LLBVHLoader(const char* buffer, ELoadStatus &loadStatus, S32 &error
}
// Recognize all names we've been told are legal.
for (std::map<std::string, std::string>::value_type& alias_pair : joint_alias_map)
for (const auto& [alias, joint] : joint_alias_map)
{
makeTranslation( alias_pair.first , alias_pair.second );
makeTranslation(alias, joint);
}
char error_text[128]; /* Flawfinder: ignore */