summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerror.cpp
diff options
context:
space:
mode:
authorFawrsk <fawrsk@gmail.com>2023-01-09 19:19:12 -0400
committerFawrsk <fawrsk@gmail.com>2023-01-09 19:19:12 -0400
commit8767e6995b0c9b9ed23e07f63d290a1da8c70f17 (patch)
tree26c8c15b117bc183386af1ee6e8b6617708aeba7 /indra/llcommon/llerror.cpp
parent9e743c99fb69db5694c388ae33656c62e3fa0b8e (diff)
Eliminate needless copies
Diffstat (limited to 'indra/llcommon/llerror.cpp')
-rw-r--r--indra/llcommon/llerror.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp
index c5eb515292..310da2c9f0 100644
--- a/indra/llcommon/llerror.cpp
+++ b/indra/llcommon/llerror.cpp
@@ -1222,7 +1222,7 @@ namespace
std::string escaped_message;
LLMutexLock lock(&s->mRecorderMutex);
- for (LLError::RecorderPtr r : s->mRecorders)
+ for (LLError::RecorderPtr& r : s->mRecorders)
{
if (!r->enabled())
{