Fix llavatarappearance merge to not use iterator in favor of C++11 lingo.

master
Graham Linden 2019-08-26 13:23:25 -07:00
parent 723f1891db
commit 8f02fc8a66
1 changed files with 2 additions and 3 deletions

View File

@ -1743,10 +1743,9 @@ void LLAvatarAppearance::makeJointAliases(LLAvatarBoneInfo *bone_info)
mJointAliasMap[*i] = bone_name;
}
LLAvatarBoneInfo::child_list_t::const_iterator iter;
for (iter = bone_info->mChildList.begin(); iter != bone_info->mChildList.end(); ++iter)
for (LLAvatarBoneInfo* bone : bone_info->mChildren)
{
makeJointAliases( *iter );
makeJointAliases(bone);
}
}