diff options
author | Fawrsk <fawrsk@gmail.com> | 2023-01-05 07:42:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 13:42:27 +0200 |
commit | d0f115ae093e8268da2a3245d6cb2f3bcc544f1c (patch) | |
tree | a85ec8f19e1ceceee819a9dd70d3effddb1be677 /indra/llcharacter/llcharacter.cpp | |
parent | bdfb47cc6bd6af77ec7cd4c04f83606c222ac437 (diff) |
SL-18893 Cleanup for loops in llcharacter to use C++11 range based for loops (#42)
Diffstat (limited to 'indra/llcharacter/llcharacter.cpp')
-rw-r--r-- | indra/llcharacter/llcharacter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/llcharacter/llcharacter.cpp b/indra/llcharacter/llcharacter.cpp index 376f096642..cf6be8daf0 100644 --- a/indra/llcharacter/llcharacter.cpp +++ b/indra/llcharacter/llcharacter.cpp @@ -246,10 +246,8 @@ void LLCharacter::dumpCharacter( LLJoint* joint ) LL_INFOS() << "DEBUG: " << joint->getName() << " (" << (joint->getParent()?joint->getParent()->getName():std::string("ROOT")) << ")" << LL_ENDL; // recurse - for (LLJoint::joints_t::iterator iter = joint->mChildren.begin(); - iter != joint->mChildren.end(); ++iter) + for (LLJoint* child_joint : joint->mChildren) { - LLJoint* child_joint = *iter; dumpCharacter(child_joint); } } |