summaryrefslogtreecommitdiff
path: root/indra/llcharacter/llpose.cpp
diff options
context:
space:
mode:
authorFawrsk <fawrsk@gmail.com>2023-01-10 05:43:27 -0400
committerGitHub <noreply@github.com>2023-01-10 11:43:27 +0200
commit7419037ef6e8a5497283278baa8582b264d3aefa (patch)
treed4486cea253918ce1ff533148a4b7f8d9ddc2688 /indra/llcharacter/llpose.cpp
parent9c250f1a9ee2e49505a35513cb88de54e2694e6c (diff)
SL-18893 Fixes for pull requests #38, #41, and #42 (#46)
Eliminate unnecessary copies, and remove uses of auto
Diffstat (limited to 'indra/llcharacter/llpose.cpp')
-rw-r--r--indra/llcharacter/llpose.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcharacter/llpose.cpp b/indra/llcharacter/llpose.cpp
index a7156a250b..6f41a0e747 100644
--- a/indra/llcharacter/llpose.cpp
+++ b/indra/llcharacter/llpose.cpp
@@ -148,7 +148,7 @@ LLJointState* LLPose::findJointState(const std::string &name)
void LLPose::setWeight(F32 weight)
{
joint_map_iterator iter;
- for (joint_map_value_type joint_pair : mJointMap)
+ for (joint_map_value_type& joint_pair : mJointMap)
{
joint_pair.second->setWeight(weight);
}