summaryrefslogtreecommitdiff
path: root/indra/llcharacter/llmultigesture.cpp
diff options
context:
space:
mode:
authorFawrsk <fawrsk@gmail.com>2023-01-05 07:42:27 -0400
committerGitHub <noreply@github.com>2023-01-05 13:42:27 +0200
commitd0f115ae093e8268da2a3245d6cb2f3bcc544f1c (patch)
treea85ec8f19e1ceceee819a9dd70d3effddb1be677 /indra/llcharacter/llmultigesture.cpp
parentbdfb47cc6bd6af77ec7cd4c04f83606c222ac437 (diff)
SL-18893 Cleanup for loops in llcharacter to use C++11 range based for loops (#42)
Diffstat (limited to 'indra/llcharacter/llmultigesture.cpp')
-rw-r--r--indra/llcharacter/llmultigesture.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/llcharacter/llmultigesture.cpp b/indra/llcharacter/llmultigesture.cpp
index 2045739c7f..7ed242f90a 100644
--- a/indra/llcharacter/llmultigesture.cpp
+++ b/indra/llcharacter/llmultigesture.cpp
@@ -88,10 +88,8 @@ S32 LLMultiGesture::getMaxSerialSize() const
max_size += 64; // step count S32
- std::vector<LLGestureStep*>::const_iterator it;
- for (it = mSteps.begin(); it != mSteps.end(); ++it)
+ for (LLGestureStep* step : mSteps)
{
- LLGestureStep* step = *it;
max_size += 64; // type S32
max_size += step->getMaxSerialSize();
}